JuniorBee
asked on
Formatting ASP date yyyy-mm-dd hh:mm:ss
Hi
I need my date formatted like:
yyyy-mm-dd hh:mm:ss
Is there a function for this?
Thanks!
I need my date formatted like:
yyyy-mm-dd hh:mm:ss
Is there a function for this?
Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
How will the date and time be presented to the function.
DateTime dt = DateTime.Now;
Response.Write(dt.ToString
Dim dt As DateTime = DateTime.Now
Response.Write(dt.ToString