API Reference > Other Classes > OdTimeStamp Class > OdTimeStamp Methods > OdTimeStamp::packedValue Method
OdTimeStamp::packedValue Method
Syntax
C++
OdInt64 packedValue() const;

Returns this TimeStamp object as long.

packedValue returns the number of seconds elapsed since midnight, January 1, 1970, Universal (Greenwich Mean) Time. 

If this TimeStamp object contains a date before midnight, January 1, 1970, UTC, or after 3:14:07 on January 19, 2038, UT, packedValue() returns -1.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.