Subj : posix strftime To : tony summerfelt From : Maurice Kinal Date : Thu Feb 24 2005 07:56 am Hey tony! Feb 23 18:54 05, tony summerfelt wrote to Maurice Kinal: ts> i've been using the posix module for a max style logging routine for ts> ages... ts> $stime= strftime("%d %b %H:%M:%S -- ", localtime(time)); That is neat. The "%H:%M:%S" can be shortened to "%X" which produces the exact same thing. The list can be gotten from "date --help" or "man date". Up to now I have been using "date" in bash scripts to extract the same information so I was happy when I encountered strftime in the POSIX module. Like I said, it's a keeper. Life is good, Maurice --- Msged/LNX 6.1.2 * Origin: The Pointy Stick Society X1V - Louis Who? (1:261/38.9) .