Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Date formatting

by davorg (Chancellor)
on Jun 30, 2003 at 13:04 UTC ( [id://270154]=note: print w/replies, xml ) Need Help??


in reply to Date formatting

No, that sounds like a pretty good approach to me. You can get rid of your intermediate variables tho'.

$finaldate = join '-', (split(/\//, $datefield, 3))[2,0,1];
--
<http://www.dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-19 05:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found