The POSIX module contains the strftime() function, which is incredibly convenient for formatting dates and times:
use strict; use POSIX qw(strftime); print strftime '%Y%%m%d %H%M%S', localtime();
In reply to Re: Date format in *nix box
by Corion
in thread [OT] Date format in *nix box
by qsl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |