[lug] Perl days/dates
Sean Reifschneider
jafo at tummy.com
Tue Nov 14 17:02:43 MST 2000
On Tue, Nov 14, 2000 at 04:55:40PM -0700, Atkinson, Chip wrote:
>I'm writing a perl script to figure out the day of the week based on a given
>date. The numeric value for the day of the week seems rather odd in that
Try: date +%w --date=2000-11-04
;-)
Sean
--
Hell hath no fury, like a file-system scorned. -- Sean Reifschneider, 1998
Sean Reifschneider, Inimitably Superfluous <jafo at tummy.com>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python
More information about the LUG
mailing list