sylph001 has asked for the wisdom of the Perl Monks concerning the following question:
Hi everyone,
Recently I'm writing a small perl program and I find out that for some certain day-of-the-month numbers, I need to count out the corresponding day-of-the-week numbers.
I could write a routine to do that work but turns out it will be complicated.
I think there must be some precedences done for doing this work.
I guess there might be some useful functions in modules like Local::Time or so, but I feel not familiar with the wider industry and standard way that most people do it with.
So, could you kindly lead me to the best/most-common way to do this date calculation?
Many thanks
</body> </html>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Way to calculate day-of-the-week
by hippo (Archbishop) on Dec 24, 2014 at 11:11 UTC | |
|
Re: Way to calculate day-of-the-week
by blindluke (Hermit) on Dec 24, 2014 at 09:20 UTC | |
by BillKSmith (Monsignor) on Dec 24, 2014 at 13:44 UTC | |
by blindluke (Hermit) on Dec 24, 2014 at 21:29 UTC | |
by Your Mother (Archbishop) on Dec 25, 2014 at 01:43 UTC | |
by blindluke (Hermit) on Dec 25, 2014 at 10:59 UTC | |
|
Re: Way to calculate day-of-the-week
by Anonymous Monk on Dec 25, 2014 at 00:04 UTC | |
|
Re: Way to calculate day-of-the-week
by clueless newbie (Curate) on Dec 24, 2014 at 13:03 UTC | |
by Anonymous Monk on Dec 24, 2014 at 23:48 UTC | |
by locked_user sundialsvc4 (Abbot) on Dec 28, 2014 at 18:26 UTC |