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

Re: Get day of week from current date

by Cristoforo (Curate)
on Jul 08, 2013 at 19:42 UTC ( [id://1043170]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    use warnings;
    ...
    say $dow->day_of_week, ' ', $dow->strftime("%A");
    $dow = today;
    say $dow->day_of_week, ' ', $dow->strftime("%A");
    
  2. or download this
    4 Thursday
    1 Monday
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-03-29 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found