Skip to content
ajitbohra edited this page Dec 1, 2014 · 6 revisions

A Unix Date field.

JQuery UI datepicker is used when selecting dates.

Data is stored as a string as a unix timestamp.

date_unix

Args

Required Args

  • id (string) (required)
  • name (string) (required) Field display name. Used as field label.
  • type 'date_unix' (string) (required)

Optional Generic Args

See Optional Generic Args

Example Usage

array( 
	'id'   => 'example-field-date-unix', 
	'name' => 'A unix date field', 
	'type' => 'date_unix', 
),