Scarborough has asked for the wisdom of the Perl Monks concerning the following question:
printf "%4d%2d%2d",((localtime(time - ((1 - (localtime(time))[6]) +* -86400)))[5,4,3]); }
Can anyone help me finish it or is this the wrong aproach?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: The date last monday
by davorg (Chancellor) on Oct 03, 2006 at 10:52 UTC | |
|
Re: The date last monday
by davidrw (Prior) on Oct 03, 2006 at 12:27 UTC | |
|
Re: The date last monday
by johngg (Canon) on Oct 03, 2006 at 10:46 UTC | |
by Scarborough (Hermit) on Oct 03, 2006 at 10:59 UTC | |
by davorg (Chancellor) on Oct 03, 2006 at 11:26 UTC | |
by Scarborough (Hermit) on Oct 03, 2006 at 12:00 UTC | |
by Old_Gray_Bear (Bishop) on Oct 03, 2006 at 11:33 UTC | |
by Scarborough (Hermit) on Oct 03, 2006 at 12:35 UTC | |
by johngg (Canon) on Oct 03, 2006 at 11:19 UTC | |
by Scarborough (Hermit) on Oct 03, 2006 at 11:56 UTC | |
by davorg (Chancellor) on Oct 03, 2006 at 11:54 UTC | |
by johngg (Canon) on Oct 03, 2006 at 13:09 UTC |