in reply to Obtaining The Exact Time
POSIX strftime will help with formatting a string from the localtime($secs) call without all the extra variables. All you need is to give it a format string and the localtime call. The strftime man page details the format string conventions available.
After Compline,
Zaxo
|
|---|