Skip to content

Instantly share code, notes, and snippets.

@mculp
Created March 13, 2011 17:50
Show Gist options
  • Select an option

  • Save mculp/868288 to your computer and use it in GitHub Desktop.

Select an option

Save mculp/868288 to your computer and use it in GitHub Desktop.
>> nineeleven = Date.parse('9/11/2001')
=> Tue, 11 Sep 2001
>> earthquake = Date.parse('3/10/2011')
=> Thu, 10 Mar 2011
>> Date.parse("#{nineeleven.month + earthquake.month}/#{nineeleven.day + earthquake.day}/#{nineeleven.year + earthquake.year - 2000}")
=> Fri, 21 Dec 2012
# aw fuck
@thorncp

thorncp commented Mar 14, 2011

Copy link
Copy Markdown

omg, we're a͕̥̺̯̥͇l̫̣͍̝̠͉̗l̟̞ͅ g͔͕͈͎̘̤̜̉̈́͂̐̐̎̌o̥̬̔̃͆i̲̦̳̣̫̰ͪ͊͑͗̾ͪ̏n̦͈̜̯̏̎̑g̣͈͔͑ͮ̅̒ T̢̝̪̙̘̺͓͔̬̓ͪ͛̅ͤ̆ͣ̑̑ͤ̈́͊̂Ô̴͖͙̞̳̰̖̬̫̭̗̺̣̮̥̪̬̘̐͊̂͌̇̇͒ͨ͘͠ ̛̦̻̠̱̝̗̠̯̦̜̭͆ͯ̌ͩ͑̓̄̆̾͒ͬ͜͢ͅD̈̿̈̑ͣ̎͗ͫ̾̿̚͡͏̡̨͕̹͚̦̲̲̝̳̱̯ͅI͖̺͉͉̖̗͉̠͙̝͖̯͖̺̲̭͌ͤ̆ͬͩ̍̍ͣ͒̈̎͋̑̒ͮ̋͆̔ͣ̕͘͜͝E̵̢̦̱̺͕̺̻͓͑͒ͥ̇̓ͤ̑͌ͧͥͫ̔̏ͥͪ̐ͩͯ̒

@mculp

mculp commented Mar 14, 2011

Copy link
Copy Markdown
Author

haha, nice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment