Skip to content

Instantly share code, notes, and snippets.

@Jirapong
Created April 24, 2009 17:30
Show Gist options
  • Save Jirapong/101229 to your computer and use it in GitHub Desktop.
Save Jirapong/101229 to your computer and use it in GitHub Desktop.
require 'time'
t = Time.now
puts "UTC #{t.utc}" # fail in IronRuby
puts "RFC2822: #{t.rfc822}" # fail in IronRuby
puts "UTC then RFC2822: #{t.utc.rfc822}" #fail in IronRuby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment