In asp.net I'm using this one:
System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern
Is that possible to get it in classic asp?
In asp.net I'm using this one:
System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat.ShortDatePattern
Is that possible to get it in classic asp?
Use this VB Script Function
Response.write(formatDateTime(Now(), vbShortDate))
EDIT:
Better try from client side check this link
It's a while since I used VBScript but I think that combining FormatDateTime with the correct locale should give you a localised date. You can use SetLocale() to change the locale the script is using, that might be particularly necessary if you want to use the client locale rather than the server one. The actual options formatDateTime offers are pretty limited though - more or less vbShortDate or vbLongDate.
If you need more flexibility you will either need to roll your own or perhaps to use a standard format to pass the date to the client and then format it there using JavaScript which may open up a few options for you.