API Reference > Other Classes > OdTimeProvider Class > OdTimeProvider Methods > OdTimeProvider::getTimeFromServer Method
OdTimeProvider::getTimeFromServer Method
Syntax
C++
virtual bool getTimeFromServer(const OdString& serverName, OdTimeStamp& timeStamp) = 0;
Parameters 
Description 
const OdString& serverName 
[in] Server name.  
OdTimeStamp& timeStamp 
[out] Time stamp. 

Returns a time stamp from a server as OdTimeStamp.

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