in reply to Re: Date format in *nix box
in thread [OT] Date format in *nix box

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^3: Date format in *nix box
by Corion (Patriarch) on Jun 28, 2006 at 07:39 UTC

    I perfectly understand, but this website is about Perl and not about Unix commands. You can take my solution and put it into a Perl oneliner as follows:

    perl -MPOSIX=strftime -le 'print strftime "%Y%m%d %H%M%S", localtime'