To set a given time, use the local method (mktime is a synonym):
local_time = Time.local( 2007, "jan", 30, 1, 15, 20 ) puts local_time