December 16th, 2011, 09:22 AM
Date Issue with Jscript
I usually work in ASP VBScript but I have taken over a project that uses an MS Access database to store dates in a Date/Time field.
The date in the database is:
However when rendered onto the page using ASP Jscript is appears as:
Fri Sep 23 00:00:00 UTC+0100 2011
Can anybody direct me as to how I can get it to appear on the page as it does in the database using Jscript?
Thanks in advance
December 16th, 2011, 08:20 PM
Do you mean you're using jscript for the server-side asp code?
In vbscript on the server you'd probably use the formatdatetime() function to make the date display as you want. In jscript I don't know, sorry.
The man who doesn't read good books has no advantage over the man who can't read them.