Skip to content

Instantly share code, notes, and snippets.

@matt-hwy1
Created March 27, 2013 18:55

Revisions

  1. matt-hwy1 created this gist Mar 27, 2013.
    1 change: 1 addition & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    Time.zone.at((Time.parse("1:43am").to_f/(15.minutes)).round * 15.minutes)