in reply to ISO Date Week Number
use POSIX 'strftime'; # replace with actual date my @localtime = qw/YYYY MM DD 00 00 00/; # see perldoc -f localtime $localtime[0] -= 1900; $localtime[1] -= 1; print strftime('%V', reverse @localtime);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ISO Date Week Number
by halley (Prior) on Sep 06, 2005 at 15:39 UTC | |
by mattk (Pilgrim) on Sep 06, 2005 at 23:12 UTC |