http://www.perlmonks.org?node_id=434262


in reply to strftime reference for Win32

FWIW, the DateTime can translate an object to a string using strftime formats as well. (It's also got a guide to strftime formatting keys in the pod.) Plus with DateTime::Format::Strptime you can use the same format to parse a string into a DateTime object. It also does tons of other hugely useful date stuff.

Chris
M-x auto-bs-mode

Replies are listed 'Best First'.
Re^2: strftime reference
by astroboy (Chaplain) on Feb 24, 2005 at 21:56 UTC

    Alas, there appears no ppd for this module, so Windows users are probably out of luck. The PPM::Repositories module returns

    datetime http://datetime.perl.org/download Get your DateTime modules here

    but, alas, it didn't work for me...

      Check out the theoryx repository (which you can add with the URL: 'http://theoryx5.uwinnipeg.ca/cgi-bin/ppmserver?urn:/PPMServer58') -- the versions they have seem to be a little old, but it's still better than POSIX...

      Chris
      M-x auto-bs-mode