Time and Date

The following variables reference the current time and date.

There are also functions related to time—see Functions for Timestamps or Time.

Variable

Description

Type

system.date

The current date in London, United Kingdom, in the format yyyy-MM-dd. Depending on the time of year, this will be either GMT or BST.

You can reference this variable in the Services, Subscriptions and Broadcasts tabs.

String

system.localDate

The current date in the time zone set as your service’s local time, in the format yyyy-MM-dd. This time zone is set by OpenMarket when your services are first provisioned. It is not related to the location where you are currently accessing MEP, and so it may be set to a different time zone compared to the time zone of your current geographic location.

You can reference this variable in the Services, Subscriptions and Broadcasts tabs.

String

system.time

The current date and time in London, United Kingdom, in the format yyyy-MM-dd hh:mm:ss. Depending on the time of year, this will be either GMT or BST.

You can reference this variable in the Services, Subscriptions and Broadcasts tabs.

String

system.localTime

The current date and time that is in the time zone you have set as your service's local date and time. This is in the format yyyy-MM-dd hh:mm:ss. This time zone is set by OpenMarket when your services are first provisioned. It is not related to the location where you are currently accessing MEP, and so it may be set to a different time zone compared to the time zone of your current geographic location.

You can reference this variable in the Services, Subscriptions and Broadcasts tabs.

String