I am trying to format a date in an ASP page in which the date already appears (prior to formatting). I would like the date to appear as 9/07/2007 instead of 2007-09-07 11:13:08.000. See code below
I am not sure what to put in place of the dashes. If I use Date or Now it gives me the current date in the proper format, but I want to utilize the date already populated in the SQL query.
Any suggestions?
Code:
FormatDateTime(------, vbshortdate)
I am not sure what to put in place of the dashes. If I use Date or Now it gives me the current date in the proper format, but I want to utilize the date already populated in the SQL query.
Any suggestions?