Return a new datetime (or timeval) object, which is shifted in time relative to the original date/time.
The amount the new date/time will be shifted must be given by one of the following units:
months as a unit, it might not be possible to move to the exact same day in the month. If this is the case, the last possible day of the month will be used.
datetime(2020, 2, 29).move('years', -1); return with
datetime(2019, 2, 28) since the year 2019 does not have a 29th of February.
This function does not generate an event.
||How many times to move the
Returns a new
This code uses
move()as an example:
Return value in JSON format