convert data for display

ehnruiz

New member
Local time
Today, 11:21
Joined
May 15, 2009
Messages
2
How can I use sql to convert the following text field data 5/14/2009 to display as 2009-05-14. I am using a text field.

Thanks
 
How can I use sql to convert the following text field data 5/14/2009 to display as 2009-05-14. I am using a text field.

Thanks

You can try using the Format() command to reformat the string as a date.
FORMAT(YourTextDate, "yyyy-mm-dd")
 
Txs, that's exactly what I ended up using. Appreciate pointing me in right direction.
 

Users who are viewing this thread

Back
Top Bottom