Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Formatting Datetime objects nicely

by brian_d_foy (Abbot)
on Nov 28, 2007 at 17:31 UTC ( #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? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2022-10-06 00:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred way to holiday/vacation is:











    Results (26 votes). Check out past polls.

    Notices?