Skip to content

Instantly share code, notes, and snippets.

@rubyandcoffee
Created August 26, 2020 13:52
Show Gist options
  • Save rubyandcoffee/3fb46764b81b5d3f024d8e913bec5a70 to your computer and use it in GitHub Desktop.
Save rubyandcoffee/3fb46764b81b5d3f024d8e913bec5a70 to your computer and use it in GitHub Desktop.
Time in Ruby
time = Time.new(0)
time.utc.strftime("%H:%M:%S")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment