# gem author: James Robertson # to install: gem install timetoday require 'timetoday' # return any time today TimeToday.any #=> 2011-06-22 09:25:49 +0100 # return a future time today TimeToday.future #=> 2011-06-22 19:23:33 +0100
The TimeToday returns a random time object for today. The time can either be any time today or any time between now and midnight.