Skip to content

Instantly share code, notes, and snippets.

@jamster
Created February 13, 2009 22:08
Show Gist options
  • Save jamster/64128 to your computer and use it in GitHub Desktop.
Save jamster/64128 to your computer and use it in GitHub Desktop.
while 1
unixtime = Time.new.strftime('%s')
if Integer(unixtime) > 1234567890
puts "HOORAAAYYYY Unix Time > 1234567890 - #{unixtime}"
else
puts "Booooo Unix Time not yet #{unixtime}"
end
sleep 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment