in reply to Re: (Golf) Next second Tuesday
in thread (Golf) Next second Tuesday

Now I know it - that's really nice, ambrus++. But its not golf ;-)

Replies are listed 'Best First'.
Re^3: (Golf) Next second Tuesday
by ambrus (Abbot) on Apr 08, 2009 at 10:13 UTC

    Well, it's already not too much longer than the other solutions in your thread, but if you want golf, here's my try.

    perl -MDate::Manip -E'say UnixDate"2ndtueofapr","%c"'

    That strange words stands for 2nd (second) tue (Tuesday) of apr (April) but apparently Date::Manip follows the tradition of BASIC in not requiring spaces.

    Update 2011-02-07: this no longer works in Date::Manip version 6.12. This works:

    perl -MDate::Manip -E'say UnixDate"2nd tue of apr","%c"'
      I think shmem means you used modules. No modules in golf.