in reply to Re: Best way to print out a particular date-time format (very specific)
in thread Best way to print out a particular date-time format (very specific)

perl -MDate::Manip -e'print lc UnixDate("NOW","%d%b%y:%H:%M:%S")."\n"'

:)

EDIT: Forgot the lc

-=( Graq )=-
  • Comment on Re^2: Best way to print out a particular date-time format (very specific)
  • Download Code

Replies are listed 'Best First'.
Re^3: Best way to print out a particular date-time format (very specific)
by japhy (Canon) on Jun 09, 2006 at 10:48 UTC
    • Date::Manip is not core, POSIX is.
    • Date::Manip provides everything plus the bathroom sink, POSIX is lightweight.

    Jeff japhy Pinyan, P.L., P.M., P.O.D, X.S.: Perl, regex, and perl hacker
    How can we ever be the sold short or the cheated, we who for every service have long ago been overpaid? ~~ Meister Eckhart
      Good to know, I need to read the docs on the POSIX mod. Thanks again!

      _________________________________________________________________________________

      I like computer programming because it's like Legos for the mind.