B
bstaunton
Guest
I think this would work DEFINE VARIABLE theTimeHours AS INTEGER NO-UNDO. DEFINE VARIABLE theTimeMinutes AS INTEGER NO-UNDO. theTimeHours = TRUNCATE(TIME / 3600,0). /* To get the current hour e.g 12pm */ theTimeMinutes = (TIME / 60) MODULO 60. /* To get the remainder of minutes after the hour */ DISPLAY SUBSTITUTE("&1:&2",theTimeHours,theTimeMinutes).
Continue reading...
Continue reading...