SetTimeBeforeNow Method Example

The following example sets the time for the Chart Chart1 to be 2 hours and 30 minutes before the current time.

Chart1.SetTimeBeforeNow 2, 30, 0