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

Since no-one has mentioned it, there's also

system("date +%d%b%y:%H:%M:%S");
Of course, I like the Date::Manip solution more.
  • Comment on Re: Best way to print out a particular date-time format (very specific)
  • Download Code

Replies are listed 'Best First'.
Re^2: Best way to print out a particular date-time format (very specific)
by graq (Curate) on Jun 12, 2006 at 07:51 UTC
    Of course, I like the Date::Manip solution more.

    Well, I don't know about favourites, but japhy's use of POSIX would fall into a more 'fit for purpose' answer IMHO.

    There is a section in Date::Manip's documentation labelled should I use Date::Manip - which I think is quite a frank section for an author to include.

    -=( Graq )=-