Groups | Blog | Home
all groups > sql server dts > july 2003 >

sql server dts : Date Time String Transformation



John Bell
7/13/2003 10:12:12 AM
Hi

If you are storing the information in a datetime datatype then you can
choose the display format when retrieving the data using the convert
command. If this is a character data type then you would have to specify the
format of the input such as yyyy-mm-dd hh:sstt and the format of the output
as yyyy-mm-dd HH:ss. (as HH is 24 hour format). Although there are some
formats already available in the dropdown list, you can always type in your
own.

John


[quoted text, click to view]

Joel Gacosta
7/13/2003 3:41:10 PM
Hi All!

Is there a way in Date Time String Transformation Properties to convert the
time format to 24H? I have tried all the date format but i don't see any 24H
format. Please help.

Thanks

Joel Gacosta
7/13/2003 5:47:40 PM
Great! I must format the input source into 24H first before i can have the
output in 24H else i would stuck in 12H even if I specify the output format
as HH:mm:ss. Thanx!

joel


[quoted text, click to view]

AddThis Social Bookmark Button