API Reference > Other Classes > OdTimeStamp Class > OdTimeStamp Constructor > OdTimeStamp::OdTimeStamp Constructor ()
OdTimeStamp::OdTimeStamp Constructor ()
Syntax
C++
OdTimeStamp(); OdTimeStamp(InitialValue init);
Parameters 
Description 
InitialValue init 
[in] Initial value. 

The default constructor initializes the Julian date and time to midnight, January 1, 1970, UTC. 

init must be one of the following: 

 

Name 
Value 
Description 
kInitZero 
Midnight, January 1, 1970, UTC. 
kInitLocalTime 
Workstation date in local time. 
kInitUniversalTime 
Workstation date in Universal (Greenwich Mean) Time. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.