Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Format of the date function in Java Script
Message
 
À
08/10/2001 05:41:05
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00565399
Message ID:
00565411
Vues:
21
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 <><>
<><><><><><><><><><><><><><><><><><><><>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform