Created
March 13, 2011 17:50
-
-
Save mculp/868288 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
omg, we're a͕̥̺̯̥͇l̫̣͍̝̠͉̗l̟̞ͅ g͔͕͈͎̘̤̜̉̈́͂̐̐̎̌o̥̬̔̃͆i̲̦̳̣̫̰ͪ͊͑͗̾ͪ̏n̦͈̜̯̏̎̑g̣͈͔͑ͮ̅̒ T̢̝̪̙̘̺͓͔̬̓ͪ͛̅ͤ̆ͣ̑̑ͤ̈́͊̂Ô̴͖͙̞̳̰̖̬̫̭̗̺̣̮̥̪̬̘̐͊̂͌̇̇͒ͨ͘͠ ̛̦̻̠̱̝̗̠̯̦̜̭͆ͯ̌ͩ͑̓̄̆̾͒ͬ͜͢ͅD̈̿̈̑ͣ̎͗ͫ̾̿̚͡͏̡̨͕̹͚̦̲̲̝̳̱̯ͅI͖̺͉͉̖̗͉̠͙̝͖̯͖̺̲̭͌ͤ̆ͬͩ̍̍ͣ͒̈̎͋̑̒ͮ̋͆̔ͣ̕͘͜͝E̵̢̦̱̺͕̺̻͓͑͒ͥ̇̓ͤ̑͌ͧͥͫ̔̏ͥͪ̐ͩͯ̒