Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 27 Dec 2020, 14:22
Hostboard's Avatar
Hostboard Hostboard is offline
 
Join Date: May 2002
Real name: Steven
JavaScript

I am trying to modify:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

To output: January 1, 2020

I'm pretty sure the variables I need are: today.getMonth () and today.getDate()

I just can't seem to get the syntax correct...
__________________
-----------------------------------------------------------
Running custom version of vBulletin based on v4.2.5
PHP 7.4.x :: MariaDB 10.5.x :: UTF8MB4 & InnoDB Tables
Reply With Quote
  #2  
Old 27 Dec 2020, 16:59
shka shka is offline
 
Join Date: Mar 2016
You don't need <script type="text/javascript">, <script> is ok.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

But better this way


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Examples https://developer.mozilla.org/en-US/...caleDateString
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 14:39.

Layout Options | Width: Wide Color: