Time of the viewer right edge. The preset value is the value of the current time.
If the time is set, then it is expected according to setting the TrendsView.TimeSetType property, i.e. "local time", "standard time" or "daylight-saving time".
t = oTView.TimeMax
In order to make the modification visible, it is necessary to call the Draw method.
If a relative time interval is displayed by the time axis (the date is not shown, on the time axis there is the time, for example from 0 sec to 10 sec), then the time must be set explicitely with stating the data type, oTView.TimeMin = CDate(0), oTView.TimeMax = CDate(10/24/3600), which corresponds to the range of the time axis from 0 to 10 seconds.
oTView.TimeSetType = 1
oTView.TimeMax = t 'local time
oTView.TimeSetType = 2
oTView.TimeMax = t 'standard time