Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Reg expression on day

by flounder99 (Friar)
on Dec 23, 2003 at 17:59 UTC ( [id://316667]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    s!/0?(\d+)/!/$1/!
    
  2. or download this
    s!0?(\d+)/0?(\d+)!$1/$2!
    
  3. or download this
    use strict;
    for ('12/09/2003', '12/10/2003', '01/01/2004') {
    ...
    Before: 01/01/2004
    Leading zero off of day: 01/1/2004
    Leading zero off of month and day: 1/1/2004
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-19 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found