setTimeStamp

setTimeStamp — sets the point timestamp in various ways.

Syntax

For C++, Java, and C#:

void setTimeStamp(int  seconds,
 int  nanoseconds);

void setTimeStamp(DATE datetime);

void setTimeStamp(void);

Parameters

seconds

The number of seconds since Jan 1, 1970.

nanoseconds

The sub-second component of the timestamp, typically accurate to the extent permitted by the OS.

datetime

Time expressed in the Microsoft DATE format, the number of days since Dec.30, 1899.

Description

The parameter-less version of this method will set the timestamp to the current OS time.