April 14, 2008, 03:06 PM
JOETime over 99hrs
How can I display time over 99hrs. I have this define that will only go up to 99hrs:
DNUMSEC/I4=SCHEDULED;
DHOUR/I2=(DNUMSEC/60);
DMIN/I2=((DNUMSEC/60 - (DHOUR *60)));
DHHMMSS/I6=INT( DNUMSEC/3600 ) * 10000 + INT( IMOD(DNUMSEC,3600,'I4')/60 ) * 100 + IMOD(DNUMSEC,60,'I2');
DTIME/A9=EDIT(DHHMMSS,'99:99:99');
Please help
April 14, 2008, 03:20 PM
AnonymouseI think this should do it...
DHOUR/I
3=(DNUMSEC/60);
...
DHHMMSS/I
7=INT( DNUMSEC/3600 ) * 10000 + INT( IMOD(DNUMSEC,3600,'I4')/60 ) * 100 + IMOD(DNUMSEC,60,'I2');
DTIME/A
9=EDIT(DHHMMSS,'
999:99:99');
(edited to correct formatting. i wish you could preview before posting...)
April 14, 2008, 03:32 PM
JOEThanks,
I ended up doing the exact same thing you did and it worked. Perfect.
Thanks for replying