|
|
|
|
|
by d0mine
3593 days ago
|
|
Does Time.now + 1.day return the time 24 hours into the future or does it return the same time (hour:minutes) but the next date? (it may be more or less than 24 hours from now if the UTC offset has changed for any reason e.g., due a DST transition). How do you express these different cases in Ruby explicitly? Related: http://stackoverflow.com/questions/441147/how-can-i-subtract... |
|