in reply to Determining if I have a particular Friday off
Does not the following do the same?
(You might need to switch Free and Work).print +(localtime)[7] / 7 % 2 ? "Free\n" : "Work\n";
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Determining if I have a particular Friday off
by thmsdrew (Scribe) on Oct 24, 2012 at 17:33 UTC | |
Re^2: Determining if I have a particular Friday off
by RedElk (Hermit) on Oct 24, 2012 at 18:39 UTC | |
by thmsdrew (Scribe) on Oct 24, 2012 at 19:15 UTC | |
by RedElk (Hermit) on Oct 25, 2012 at 14:16 UTC |
In Section
Cool Uses for Perl