Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Format of the date function in Java Script
Message
 
To
08/10/2001 05:41:05
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00565399
Message ID:
00565411
Views:
20
Well, I had the same problem, and I solved it in the following way...

Dim strDate
strDate = Day(Date()) & "-" & Month(Date()) & "-" & Year(Date())

Then you'll get the date displayed as DD-MM-YYYY

Hope this will help



>In JavaScript is there any function which returns the format of the day in a
>DD-MM-YYYY format.
>The date function returns it in MM-DD-YYYY format but is there a format wherein i can get a DD-MM-YYYY format of the date??
<><><><><><><><><><><><><><><><><><><><>
<><> REMEMBER,,,,KNOWLEDGE IS POWER <><>
<><><><><><><><><><><><><><><><><><><><>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform