date-data

{date-data}

Plugin: Scaffolding Plugin

Allows editing of dates in a series of drop-down boxes.

Usage

{date-data:Name|format=[date format]}[<FIXED DATE>, yesterday, today, tomorrow, now]{date-data}

For example: {date-data:MeetingDateTime|format=yyyy-MMM-dd HH-mm-ss}today{date-data}

Parameters

Name Required Default Description
[default]/name
The name of the field.
format
The format to display the date in. May contain any of the following special characters:
  • y - The year (eg. 'yy' = '05', 'yyyy' = 2005).
  • M - The month (eg. 'MMMM' = 'April', 'MMM' = 'Apr', 'MM' = '04').
  • d - The day (eg. 'dd' = '09', 'd' = '9').
  • H - The hour - 24 hour time (eg. 'HH' = '13').
  • h - The hour - 12 hour time (eg. 'h' = '1', 'hh' = '01').
  • m - The minute (eg. 'mm' = '23').
  • s - The second (eg. 'ss' = '14').
  • a - AM/PM (eg. 'a' = 'PM').
minYear
-10
The minimum year that is allowed. May be absolute (eg. '1980') or relative to the current year (eg. '-5').
maxYear
+10
The maximum year that is allowed. May be absolute (eg. '2020') or relative to the current year (eg. '+15').
required
false
If true, the field cannot be empty.

Labels

macro macro Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.