ASP Date Format Issue

Status
Not open for further replies.

ziycon

New Member
I'm using the below code(ASP Classic - VB Script)but it causes nothing to output to screen, the date is in the format 'dd-mm-yyyy hh-mm-ss' in the database.
Code:
Response.Write Format(DateValue(recSet("datetime")),"d mmmm")
 

ziycon

New Member
Got it sorted using the below code.
Code:
Response.Write FormatDateTime(recSet("datetime"),1)
 
Status
Not open for further replies.
Top