![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
When using DTS to import datetime data, we find that when the source file contains a datetime such as "2005-12-27 12:47:21AM" it converts it to 12:47PM. If I insert the above value, it gets converted correctly. I have tried fooling with the datetime string conversion and no matter what tokens I select, the value is 12 hours off. This only happens for AM values that have a 12 or PM values that have a 12 hour. TIA |
#3
| |||
| |||
|
|
FWIW, I used activex and struffed the source into a variable and then used the year, month, day, etc. functions to concatenate a value for the destination. "Jeffrey K. Ericson" wrote: When using DTS to import datetime data, we find that when the source file contains a datetime such as "2005-12-27 12:47:21AM" it converts it to 12:47PM. If I insert the above value, it gets converted correctly. I have tried fooling with the datetime string conversion and no matter what tokens I select, the value is 12 hours off. This only happens for AM values that have a 12 or PM values that have a 12 hour. TIA |
![]() |
| Thread Tools | |
| Display Modes | |
| |