Timestamp from date
Posted: Tue May 22, 2007 1:25 pm
Hi.
I have to convert date to timestamp format.
Input:
Date format: yyyy-mm-dd
SQL type: Date(10)
Output:
Timestamp format : yyyy-mm-dd-00.00.00.000000
SQL type : Timestamp ,length-26, scale-6
Example:
input: 9999-12-31
Output: 9999-12-31-00.00.00.000000
I have gone through previous posts but could not get it working. Tried different functions in transformer and modify stage. I could not get the microsecond part. the output I am able to get is 9999-12-31-00.00.00
Thanks for the help!
I have to convert date to timestamp format.
Input:
Date format: yyyy-mm-dd
SQL type: Date(10)
Output:
Timestamp format : yyyy-mm-dd-00.00.00.000000
SQL type : Timestamp ,length-26, scale-6
Example:
input: 9999-12-31
Output: 9999-12-31-00.00.00.000000
I have gone through previous posts but could not get it working. Tried different functions in transformer and modify stage. I could not get the microsecond part. the output I am able to get is 9999-12-31-00.00.00
Thanks for the help!