Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Perl: the Markov chain saw
 
PerlMonks  

Re: strftime reference

by lachoy (Parson)
on Feb 24, 2005 at 16:17 UTC ( [id://434262]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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 16: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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://434262]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.