Created
December 15, 2016 04:27
-
-
Save ety001/a535445e3b686c5c2a4a8f9ae75521c7 to your computer and use it in GitHub Desktop.
js计算日期
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
var day = parseInt( (trip_end_date - trip_start_date)/1000/3600/24 ) +1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment