set the scope state variable name to now using configured local time and save always

Mode

Wireless

Syntax

set the scope state variable variable-name to datetime using time-zone and save save-mode

Parameters

scope
One of the following:
  • subscriber—Subscribers in the remote SPR.
  • pool—Subscriber pool defined in the SPR.
  • subscriber_local—Subscribers in the local MPE.
  • session—Session variables that have a value as long as the session they are associated with is open.
  • policy_evaluation—Policy evaluation variables that last only for the duration of the policy evaluation cycle.
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.

Click OK.

variable-name
String.
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.

Click OK.

datetime
One of the following:
  • A policy variable.
  • now (default)—The local date-time.
  • A date-time in the format: yyyy-mm-ddThh:mm:ss+UTCoffset.
    Note: Enter the date-time directly into the field or click the calendar icon for assistance:
    • Date—Select the date from the calendar interface.
    • Time—Select hh:mm:ss.
    • UTC Offset—Select number of hours before or after UTC time to start.
    • now—Select for the local date-time.
    • Time only—Select to use the time only.
  • A JavaScript code snippet—Enter a JavaScript statement that evaluates to a date-time in the format: yyyy-mm-ddThh:mm:ss+UTCoffset. Click Evaluate as expression to bypass date-time format validation.
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.

Click OK.

time-zone
One of the following:
  • CONFIGURED LOCAL TIME (default)—Calculate the time from the location configured for this MPE device
  • SYSTEM LOCAL TIME—Calculate the time from the location of this MPE device
  • USER LOCAL TIME—Calculate the time from the location configured for the user equipment's location
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.

Click OK.

save-mode
One of the following:
  • always (default)
  • unless rejected
Note: If you are using a policy table for this parameter, click Use Policy Table, choose the field (column) representing the parameter.

Click OK.

Description

Sets and saves a state variable timestamp to the current local time or a timestamp. If time-zone information is available from the SPR, time can be calculated from either the MPE device or the SPR device location. You can specify that the variable is not saved if the policy rejects the message.