Forums

ASP

This topic is locked

Date function?

Posted 24 Jan 2003 15:23:23
1
has voted
24 Jan 2003 15:23:23 James Lee posted:
Hello All,

Do you know what is the date function in ASP to show today's date and time?
How do you modify the representations like dd/mm/yy to dd/mm/yyyy??

Thanks for reading this!

Replies

Replied 24 Jan 2003 15:46:03
24 Jan 2003 15:46:03 Brent Colflesh replied:
Replied 24 Jan 2003 16:04:51
24 Jan 2003 16:04:51 James Lee replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Dear Peggycck1,
Take a look at:

msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vsfctdate.asp

Regards,
Brent

thanks!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Replied 25 Jan 2003 17:00:41
25 Jan 2003 17:00:41 Jørgen Emerslund replied:
I would check out www.adopenstatic.com for the date formatting routine he got there. It's as versatile as you can want it.

You basically use a string as a template for what you want to do, and a valid date as the inputs.

Reply to this topic