Article Details
Id:12641
Product:finPOWER Connect
Type:NEW
Version:2.02.05
Opened:16/02/2015
Closed:16/02/2015
Released:26/03/2015
Job: J014919

Runtime Business Layer object; add GetCurrentUtcDate

The Runtime Business Layer object now includes a GetCurrentUtcDate function. This will attempt to get the UTC date/time from the Database Server, otherwise the local computer's UTC date/time is returned.

From a scripting point of view these two statements achieve the same result:

finBL.GetCurrentUtcDate
finBL.Runtime.DateUtilities.GetCurrentUtcDateTime

This is because finBL.Runtime.DateUtilities.GetCurrentUtcDateTime simply on calls finBL.GetCurrentUtcDate.

The reason this has been added is other assemblies, such as ISCreditEnquiry, do not have direct access to the finPOWER Business Layer - so this provides a way of getting the more accurate database UTC date/time, as opposed to the local computer.