Manipulating DateTime Strings
Posted on 2009-07-03
How do I efficiently convert a string being supplied to my SQL of the form:
into the SQL datetime format:
"07/29/2009 1:25:00 PM" ?
My second issue:
I have been reading about UTC in the forum, and can see it is complex if dealing with different systems, ie MAC, Linux etc. But, at the end of the day, if I am just using Windows XP with SQL 2005 Server Express, is it true to say that the UTC datetime in SQL will be the same as the UTC datetime in another application on the same computer?
In other words: for the above datetime will the UTC value be the same regardless of the software application using it - ie. so long as I convert the datetime to a UTC value this will then be 'portable', at least on the same PC?