Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 6 lines (6 sloc) 149 Bytes
#!/usr/bin/env ruby
require 'date'
require 'time'
fmt = '%b-%d %H:%M'
puts "Now: #{Time.now.strftime(fmt)}"
puts "UTC: #{Time.now.utc.strftime(fmt)}"