Time API

API Reference e-time

Properties

Name Description Type Required Default value
datetime Deprecated ISO date string without timezone (eg. 2018-03-22T14:39:15.087) which will be formatted based on admin config. string or { start: string, end: string } - empty string
value ISO date string without timezone (eg. 2018-03-22T14:39:15.087) which will be formatted based on admin config. string or { start: string, end: string } true empty string
format Defines the format of the displayed date. Valid values: "ymdhis", "ymdhi" (alias: "datetime"), "ymd" (alias: "date"), "mmd" string - datetime
type Defines the type of the date. When the datetime is JSON this should be "daterange" or "datetimerange" to display the range of two dates. string - datetime or datetimerange