TutSetCurrentTime set the current data time for the process
time_val
double-precision value to use for current time
TRUE
if successful, FALSE
otherwise.
If TutSetCurrentTime fails, it returns FALSE
and sets the global SmartSockets error number to:
TutSetCurrentTime sets the current value of data time for the current process. This causes the process to take other actions based on the specific needs of that process. The effects of setting time are determined by the time change callbacks that exist in the process.
Most processes do not tolerate time reversals. Be careful not to set time backwards unless it is really intended. Negative time values are not allowed.
TutGetCurrentTime, TutSetCurrentTimeStruct, TutTimeChangeCbCreate
This example sets the value of data time to the current wall clock time:
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |