[thelist] ASP: Modify FormatDateTime()

Christian Anderson chris at jobdragon.com
Thu Mar 13 04:30:05 CST 2003


So this will return it like 03/03/13 right?  I thought I read somewhere that
you could actually set what the days and months were printed out as... and
of course I cant find the message/page that I read it on.

Anyway, I'll keep digging.

Thanks

-----Original Message-----
try using:

   FormatDateTime(dt, 2) ' 2 = vbShortDate

which should use the short date format however it's setup on your
server.  you could also get the date back from the database in the
format that you want.




More information about the thelist mailing list