Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date formatting

Status
Not open for further replies.

aaronjonmartin

Technical User
Jul 9, 2002
475
GB
Hi i have a variable which contains a date in the format mm/dd/yyyy, however i wish to display this date on a page in the format dd/mm/yyyy. How can i go about doing this?

Thanks for any help in advance

Aaron

"It's so much easier to suggest solutions when you don't know too much about the problem."
Malcolm Forbes (1919 - 1990)
 
I'm fairly certain Format doesn't exist in VBScript...changing the Locale or LCID is going to be your easiest method, manually making the new date would be the more difficult method (without changing Locale IsDae and such will have quirks).

-T

barcode_1.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top