May 17, 2010 #1 robert030975 MIS Joined Oct 17, 2006 Messages 227 I'm stuggling a bit to convert this into a date time and was wondering if someone could help 'May 17 2010 5:45AM' Thanks Robert
I'm stuggling a bit to convert this into a date time and was wondering if someone could help 'May 17 2010 5:45AM' Thanks Robert
May 17, 2010 #2 gmmastros Programmer Joined Feb 15, 2005 Messages 14,912 Location US There must be more to it. The format you show works perfectly fine for me. Select Convert(DateTime, 'May 17 2010 5:45AM') Can you please elaborate on the problem you are having? -George "The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom Upvote 0 Downvote
There must be more to it. The format you show works perfectly fine for me. Select Convert(DateTime, 'May 17 2010 5:45AM') Can you please elaborate on the problem you are having? -George "The great things about standards is that there are so many to choose from." - Fortune Cookie Wisdom
May 17, 2010 Thread starter #3 robert030975 MIS Joined Oct 17, 2006 Messages 227 Simple I forgot the SET DATEFORMAT!! Its great using a Sever thats got the wrong local setup. Thanks George Upvote 0 Downvote
Simple I forgot the SET DATEFORMAT!! Its great using a Sever thats got the wrong local setup. Thanks George