Skip to content
This repository has been archived by the owner on Dec 24, 2017. It is now read-only.

Field Configuration Instructions

experience edited this page Dec 16, 2012 · 4 revisions

Save Date As

DropDate can store dates as a UNIX timestamp (the default), or in YYYYMMDD format.

The latter is included for use with Solspace's Super Search module, which doesn't play nicely with UNIX timestamps for dates prior to 1970.

The date-storage format is controlled on the "Create / Edit Custom Field" screen. You can mix-and-match UNIX and YYYMMDD within the same Field Group, if required.

Year range

DropDate provides plenty of flexibility when specifying the range of available years. In every case, the start date and the end date are separated by a hyphen.

Fixed year range

Specify a fixed year range as follows:

1990-2020

If you'd like DropDate to display the dates in reverse order, just reverse the dates:

2020-1990

Dynamic year range

Specify a dynamic year range as follows:

1990-now     // 1990 to the current year.
now+10-now   // 10 years in the future to the current year, counting backwards.
now-5-now+5  // 5 years in the past to 5 years in the future.

Show time

Optionally displays controls to input time in either 5 minute or 15 minute intervals.

Clone this wiki locally