POSIX::strftime() is the way I like best. It uses formats similar to sprintf to write various time quantities from the time list returned by localtime. See man 3 strftime for a list of the format tags.
After Compline,
Zaxo
In reply to Re: Formating Date and Time
by Zaxo
in thread Formating Date and Time
by bigjoe11a
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |