Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: strftime reference

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


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://434262]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2025-07-11 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.