API Reference > OdDb Classes > OdDbDate Class > OdDbDate Constructor > OdDbDate::OdDbDate Constructor ()
OdDbDate::OdDbDate Constructor ()
Syntax
C++
OdDbDate(); OdDbDate(const OdTimeStamp& tStamp); OdDbDate(InitialValue init);
Parameters 
Description 
const OdTimeStamp& tStamp 
[in] TimeStamp.  
InitialValue init 
[in] Initial value. 

The default constructor initializes the Julian date and time to zero. 

init must be one of the following: 

 

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