Returning the date of the 3rd thursday of the month

I have a bad habit of forgetting when the local Ruby user group meeting is, however with help from the Chronic_cron gem it should now be easier to remember.

require 'chronic_cron'

cc = ChronicCron.new('third thursday of the month at 7:30pm')
cc.to_expression  #=> "30 19 21 11 *"
cc.to_time        #=> 2013-11-21 19:30:00 +0000

Tags:
Source:
1729hrs.txt
Published:
31-10-2013 17:29