At 02:47 PM 9/17/2011, Dennis McGrath wrote: MM instead of NN ????
I would be interested in your experience. This worked for me. set var vtmp = (format(.#NOW,'MM/DD/YYYY HH:MM:SS')) ; wri .vtmp Dennis, FWIW, when using the .#NOW system variable, you will need to use "NN" for minutes. -- Example 01: CLEAR VARIABLE v3 SET VAR v3 TEXT = (FORMAT(.#NOW,'MMDDYYYY_HHNN')) SHOW VAR v3 For more details, refer to in line HELP. AT the R> prompt: HELP FORMAT Very Best R:egards, Razzak.

