Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Is there a shorter way to create a german time string?

by t0mas (Priest)
on Sep 26, 2000 at 15:10 UTC ( [id://33997]=note: print w/replies, xml ) Need Help??


in reply to Is there a shorter way to create a german time string?

How about:
use Date::Manip; $ENV{TZ}="CET"; &Date_Init( "Language=German" ); print &UnixDate( "heute", "%A, den %m. %B %Y um %H:%M Uhr" );
/brother t0mas

Replies are listed 'Best First'.
RE: Answer: Is there a shorter way to create a german time string?
by neophyte (Curate) on Sep 26, 2000 at 20:13 UTC
    This is very concise. And if I had to do more date-parsing than just for this one string I would install Date::Manip. But as the review states: this module might be an overkill. So for now I'll be using my lengthy sub.
     
    Thank you anyway for leading my attention to a module I hadn't known before.
     
    neophyte

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 18:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found