date Functions

Use date functions in rules to manipulate date values in asset JSON at runtime.

For instance, a date function can update date values to a standardized format. If a user enters a date value in the wizard, the date function can update the format at runtime.

Parameters: Date dateValue, String format

Returns: String

Recursive: Not supported

Description: Returns a formatted string of the provided date/time value based on the provided format.

This function call:

Returns:

Parameters: String dateValue, String format

Returns: Date

Recursive: Not supported

Description: Parses the given date/time value based on the provided format.

This function call:

Returns:

Parameters: Date dateValue, String field, int delta

Returns: Date

Recursive: Not supported

Description: Performs date/time arithmetic on the provided dateValue on the provided valid date field (year, month, day, hour, minute, second, millisecond) using the delta value to increase or decrease the date field by.

This function call:

Returns:

Parameters: None

Returns: Date

Recursive: Not supported

Description: Returns the current date and time.

This function call:

Returns: