DateTimeGeneratorValve

Generates a date/time value from the current system time.

By default the output is formatted as an ISO instant: 2021-04-28T09:15:55.386Z

Properties

Name Description Default value Mandatory Supports property expansion
dest The item property to store the date/time. date Yes No
duration Duration of the date/time. Yes No
pattern Date/time pattern. Yes No

Example Configuration

{
    "name":"DateTimeGeneratorValve",
    "config":{
	"dest":"date",
	"duration":"-PT24H",
	"pattern":"yyyy-MM-dd HH:mm:ss"
    }
}


Requirements