Timestamp to internal format
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 13
- Joined: Mon Sep 11, 2006 8:01 am
Timestamp to internal format
Is there a way to convert timestamp to internal format? I know about ICON/OCON functions a little bit,But I cant find this type of conversion in the document or using help in DS.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
DateStage does not have an internal format for timestamp. It does for date and for time, but not for timestamp. You can, of course, convert a timestamp to the number of seconds since a zero point, but converting the date portion to days and the time portion to seconds then performing the requisite arithmetic.
But, as Craig asks, why?
But, as Craig asks, why?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.