Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: change hour in timestamp

by kcott (Archbishop)
on Jun 05, 2022 at 00:54 UTC ( #11144401=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my $date = q{Sat Jun  4 22:47:31 2022};
        my $fmt_t = q{%a %b %d %T %Y};
    ...
        say sprintf $fmt_s, split q{ }, $tp->strftime($fmt_t);
        $tp += 6 * ONE_DAY;
        say sprintf $fmt_s, split q{ }, $tp->strftime($fmt_t);
    
  2. or download this
    Sat Jun  4 20:47:31 2022
    Fri Jun 10 20:47:31 2022
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2022-09-27 01:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer my indexes to start at:




    Results (118 votes). Check out past polls.

    Notices?