Viewing 3 posts - 31 through 33 (of 33 total)
When converting strings to dates it is useful to be aware of the "Unseparated String Format". You can look up the details of this in BOL.
August 17, 2006 at 1:19 am
#655381
If you took the code below (or something like it) and made it into a udf it should be close to what you are after. However, it might not be...
August 10, 2006 at 1:47 am
#654213
Below is a user-defined function that takes a date/time (of type DATETIME but can be passed in the Unseperated String format - yyyymmdd) and a format (string such as 'dd/mm/yyyy'...
July 7, 2006 at 2:22 am
#647898