This method returns the current time on the SmartPlant Foundation server in GMT. This method is called, if a tool stores the current SmartPlant Foundation time in the backup set during a backup. Storing the SmartPlant Foundation server time in the tool backup data helps tools pass that time in the ResetDesignBasisByGMTTime method after a backup is restored.
Signature
GetSPFCurrentGMTTime (sDateTime As Date) As Long
Arguments
Name |
Data type |
Input/output |
Description |
---|---|---|---|
sDateTime |
Date |
Output |
The current time on SmartPlant Foundation server in GMT. |
Return Value
0 if the method is successful.
A negative number if the method fails. (Check LastErrorMessage property for error message)