API Reference > Extension Classes > ExTimeProvider Class > ExTimeProvider Methods > ExTimeProvider::getTimeFromServer Method
ExTimeProvider::getTimeFromServer Method
Syntax
C++
virtual bool getTimeFromServer(const OdString& serverName, OdTimeStamp& timeStamp);
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.