Created
June 12, 2014 04:47
-
-
Save ksloan/77eac4740f9e63b258b5 to your computer and use it in GitHub Desktop.
subtract time from date object
This file contains hidden or 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
d.setMinutes(d.getMinutes() - num_mins); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment