Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 10 lines (6 sloc) 0.163 kb
574ba332 »
2010-05-03 Add unixtime.rb script
1 #!/usr/local/bin/macruby
2
3 if ARGV.empty?
4 puts "Usage: unixtime.rb <unix-time-value>"
5 exit
6 end
7
8 puts NSDate.dateWithTimeIntervalSince1970(ARGV[0]).description
9
Something went wrong with that request. Please try again.