System functions in the Factory

System functions extract data from the operating system, such as the host name, time zone, current date.

Rulex Platform formula

Function

Formula

Description

currDate

currDate(utc)

Returns the current date according to local or UTC settings.

currDatetime

currDatetime(utc)

Returns the current datetime according to local or UTC settings.

hostName

hostName()

Returns the hostname of the machine where Rulex Platform is running.

ipAddress

ipAddress()

Returns the IP address of the machine where Rulex Platform is running.

timeZone

timeZone()

Returns the current timezone, i.e. the difference between local time and UTC time. The resulting type is time.

Parameters in bold are mandatory.