Skip to content

Instantly share code, notes, and snippets.

@mculp
Created March 13, 2011 17:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mculp/868288 to your computer and use it in GitHub Desktop.
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
Copy link

thorncp commented Mar 14, 2011

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

@mculp
Copy link
Author

mculp commented Mar 14, 2011

haha, nice.

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