Mega Code Archive

 
Categories / Ruby / Time
 

Create a Time object based on GMTUTC

# Time.gm(year, month, day, hour, min, sec, msec) puts Time.gm(2008, 8, 31, 2, 3, 4, 5)