Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: RFC: List of first day of each month -- oneliner

by Discipulus (Canon)
on Jan 31, 2020 at 20:09 UTC ( [id://11112205]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -e "while($ARGV[0]<=$ARGV[1]){$t=scalar localtime($ARGV[0]);print
    + $t.$/ if $t=~/\s1\s/;$ARGV[0]+=86400}" 1580500427  1591220427
    
    ...
    Wed Apr  1 21:53:47 2020
    Fri May  1 21:53:47 2020
    Mon Jun  1 21:53:47 2020
    
  2. or download this
    perl -e "$t=shift;while($t<=$ARGV[0]){print gmtime($t)=~/(.*\w  1)/?$1
    +.$/:'';$t+=86400}" 
    # or
    ...
    Wed Apr  1
    Fri May  1
    Mon Jun  1
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-24 09:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found