May 15, 2009 #1 neoxaml Programmer Joined Apr 24, 2009 Messages 5 Location US 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
May 15, 2009 #2 lespaul Programmer Joined Feb 4, 2002 Messages 7,083 Location US maybe: Code: FORMAT(date(Fieldname), "YYYY-MM-DD") Leslie Come join me at New Mexico Linux Fest! Upvote 0 Downvote
May 15, 2009 Thread starter #3 neoxaml Programmer Joined Apr 24, 2009 Messages 5 Location US Txs, that's exactly what I ended up using. Appreciate pointing me in right direction. Upvote 0 Downvote
May 16, 2009 #4 JoeAtWork Programmer Joined Jul 31, 2005 Messages 2,285 Location CA neoxaml said: I am using a text field. Click to expand... Why not use a date field? Upvote 0 Downvote