Created
May 28, 2017 19:09
-
-
Save marcoslebron/b415deef0fb593b1f7f08891bbe8dc8c 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
[1] Time.now + 10.days | |
[2] 10.days.from_now | |
[3] -10.days.ago | |
[4] DateTime.now.days_ago(-10) | |
[5] Date.today + 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment