Forum Discussion
bojanvelevski
4 years agoValued Contributor
- Sandy4 years agoNew Contributor
Hi
Here is the sample date which goes from DB2 to Azure SQL.
‘2022-11-16 03:27:20.038261’.I am using this to extract the timestamp
($LAST_UPDT_TIMESTAMP != null) ? ( $LAST_UPDT_TIMESTAMP .toString().substr(0,10) +" "+ $LAST_UPDT_TIMESTAMP .toString().substr(11,8) + “.” + $LAST_UPDT_TIMESTAMP .toString().substr(14,7) ) : null
Thank you.