I’m having some problems writing out a timestamp field. The format that I was aiming for was YYYY-MM-DD-HH:MM:SS.ssssss.
The informat used to read in the data was TODSTAMP4.. Here are some samples of my output using a PUT statement:
Can anyone suggest how to get the format into YYYY-MM-DD-HH:MM:SS.ssssss?
Thanks in advance!
The informat used to read in the data was TODSTAMP4.. Here are some samples of my output using a PUT statement:
Code:
NO FORMAT DATETIME23.6 TIME12. YYMMDD10.
1586273562.1 07APR10:15:32:42.148864 440631:32:42 **********
1583555017.7 07MAR10:04:23:37.719808 439876:23:38 **********
1584883864.5 22MAR10:13:31:04.453120 440245:31:04 **********
1583945561.9 11MAR10:16:52:41.948160 439984:52:42 **********
1588176606 29APR10:16:10:05.954048 441160:10:06 **********
1584637555 19MAR10:17:05:54.999296 440177:05:55 **********
1588271341.6 30APR10:18:29:01.649920 441186:29:02 **********
1588708670.2 05MAY10:19:57:50.193664 441307:57:50 **********
1584465774.1 17MAR10:17:22:54.133248 440129:22:54 **********
Can anyone suggest how to get the format into YYYY-MM-DD-HH:MM:SS.ssssss?
Thanks in advance!