Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 taking refuge in the Monastery: (3)
As of 2024-04-24 00:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found