Today Value Date

Today Value Date

#340180

Description

This resource is used to schedule Workloads using the date/time of Densify (which is running the Route and Reserve Demand page).

Resource

/today-value

Supported Operations

Table: Today Value Supported Operations

Operation

HTTP Method

Input

Output

Description

Get Today

GET /today-value

None

utc_offset, today_setting, today_value, today_value_int, time_zone

The date/time of the machine running Densify.

Example: Getting the Today Value

Resource Elements

Table: Today Value Resource Elements

Element

Type

Description

time_zone

string

The time zone of the machine running Densify.

today_setting

string

Specifies that Densify is using:

  • "CALENDAR"—the current date on the machine it is running (normal mode)
  • "SPECIFIED"—a static date (test mode)

today_value

string

The date in the format DD-MM-YYYY of the machine running Densify.

today_value_int

number

The UTC date/time of the machine running Densify.

utc_offset

string

The offset relative to GMT.

Examples

Example: Getting the Today Value

The following example shows you how to get the actual date value of "today":