Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Formatting Datetime objects nicely

by brian_d_foy (Abbot)
on Nov 28, 2007 at 17:31 UTC ( [id://653595]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
            
        print "$time: ", $dt->ymd, " $string\n";
        }
    
  2. or download this
    1196530263: 2007-12-01 December  1, 2007
    1196443863: 2007-11-30 November 30, 2007
    ...
    1196184663: 2007-11-27 Yesterday
    1196098263: 2007-11-26 November 26, 2007
    1196011863: 2007-11-25 November 25, 2007
    

Log In?
Username:
Password:

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

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

    No recent polls found