Group: | Handling of time |
Topic: | Generating timepoints |
See also: | settime settimegran getnow getlocalnow |
Function: | settimezero | |
Description: | settimezero changes the fixed time point. |
Usage: | settimezero (t, newtimezero) | |
Input: | ||
t | n x 1 time vector | |
newtimezero | scalar |
yr = 1970 +(1:10) t = settime(yr) settimezero(t, 0)
t contains now all dates from 1.1.1971 0:00:00.0 till 1.1.1980 0:00:00.0 measured in days from 1.1.0 0:00:00.0