GetSPFCurrentGMTTime Method - Integration - Update 44 - Help - Hexagon

SmartPlant Integration COM Help

Language
English
Product
Integration
Search by Category
Help
SmartPlant Foundation / SDx Version
10
Smart P&ID Version
9 (2019)
Smart Engineering Manager Version
10 (2019)

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)