API Reference > Other Classes > OdTimeStamp Class
OdTimeStamp Class
OdTimeStamp
Syntax
C++
class OdTimeStamp;

OdTimeStamp.h

This class represents TimeStamp objects in an OdDbDatabase instance.

TD_Db 

 

 
Name 
Description 
 
This is the overview for the OdTimeStamp constructor overload. 
 
Name 
Description 
 
This is record OdTimeStamp::InitialValue. 
 
Name 
Description 
 
add 
Adds the specified TimeStamp object to this TimeStamp object, and returns the sum.
 
 
Returns this TimeStamp object as standard formatted string.
 
 
day 
Returns the day of this TimeStamp object. 
 
Returns the date of this TimeStamp object.  
 
Sets this TimeStamp object to the workstation date in local time. 
 
Returns the time of this TimeStamp object.  
 
Sets this TimeStamp object to the workstation date in Universal (Greenwich Mean) Time. 
 
hour 
Returns the hour of this TimeStamp object. 
 
Returns the Julian day of this TimeStamp object. 
 
Returns the fraction of the Julian date of this TimeStamp object. 
 
Converts this TimeStamp object from local time to Universal (Greenwich Mean) Time. 
 
Returns the millisecond of this TimeStamp object. 
 
Returns the minute of this TimeStamp object. 
 
Returns the month of this TimeStamp object. 
 
Returns the milliseconds past midnight for this TimeStamp object. 
 
Returns this TimeStamp object as long. 
 
Returns the second of this TimeStamp object. 
 
Sets the date of this TimeStamp object.  
 
Sets the day of this TimeStamp object.  
 
Sets the hour of this TimeStamp object.  
 
Sets the Julian Date for this TimeStamp object.
 
 
Sets the Julian day of this TimeStamp object.
 
 
Sets the fraction of the Julian date of this TimeStamp object.  
 
Sets the millisecond of this TimeStamp object.  
 
Sets the minute of this TimeStamp object.  
 
Sets the month of this TimeStamp object.  
 
Sets the milliseconds past midnight for this TimeStamp object.
 
 
This is setPackedValue, a member of class OdTimeStamp. 
 
Sets the second of this TimeStamp object.  
 
Sets the time of this TimeStamp object.  
 
Sets this TimeStamp object to Midnight, January 1, 1970, UTC. 
 
Sets the year of this TimeStamp object.  
 
Returns this TimeStamp object as a user-formatted string.
 
 
Subtracts the specified TimeStamp object from this TimeStamp object, and returns the difference.
 
 
Converts this TimeStamp object from Universal (Greenwich Mean) Time to local time. 
 
This is weekday, a member of class OdTimeStamp. 
 
year 
Returns the year of this TimeStamp object. 
 
Name 
Description 
 
- 
This is -, a member of class OdTimeStamp. 
 
!= 
This is !=, a member of class OdTimeStamp. 
 
+ 
This is +, a member of class OdTimeStamp. 
 
+= 
This is +=, a member of class OdTimeStamp. 
 
< 
This is <, a member of class OdTimeStamp. 
 
<= 
This is <=, a member of class OdTimeStamp. 
 
-= 
This is -=, a member of class OdTimeStamp. 
 
== 
This is ==, a member of class OdTimeStamp. 
 
> 
This is >, a member of class OdTimeStamp. 
 
>= 
This is >=, a member of class OdTimeStamp. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.