Wilson,
Try this. Modified from the Help Pages.
proc main
integer Month, Day ; Integers to contain date and
integer Year, Hour ; time converted from long
integer Min, Sec ; Min and Sec.
;string MonStr ; String to contain month.
; Convert long time value into it's counter parts, year,
; month, day, hour, min, and sec.
ltimeints $LTIME Year Month Day Hour Min Sec
;monthstr Month MonStr ; Get the month in string format.
usermsg "IT's: %02d %d %d At: %d:%d" Month Day Year Hour Min
endproc
You May want to change the user message so that the Day Variable is printed before the Month Variable.
Hank