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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Format

Status
Not open for further replies.
Jan 22, 2003
92
0
0
US
I am importing data into my SQL db. It is pulling the date in the format of yyyy-mm-dd. I would like for it to be dd-mm-yyyy or dd/mm/yyyy. Can anyone help me with this?

Thanks in advance for your expertise!
Wendy
 
Make the date field in the SQL server as shortdatetime type.
Then the dates get stored in mm/dd/yyyy format.

Hope that helps.

VJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top