Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Formating

Status
Not open for further replies.

Ablecken

Programmer
Jun 5, 2001
130
US
How do you get the table to order with a date in this format 5-7-2002?

Able
 
Do you NEED to have the '-' instead of the '/'? If so, then just do a Replace() on the '-'. To format the date to a '1/1/02' format use the formatdatetime() function. Also, if you are using ADO, there is a .sort property. If you are pulling it from a database, a SQL command can sort it prior to sending it by using the *ORDER BY <date field> ASC/DESC* command. --
Get rid of all those support emails!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top