...

View Full Version : Change date format when writing...



BigDaddy
02-10-2003, 03:50 PM
Hi.

I'm pulling a long date from a database, ex:

12/10/2002 8:37:53 AM

I need to just drop the hour/minutes/seconds from it, leaving only the date 12/10/2002.

BigDaddy
02-10-2003, 03:56 PM
nevermind.

formatdatetime(date,2) did the job just great.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum