$_start_year
$_start_year :
Horde_Form_Type Class
init(integer $start_year = '', integer $end_year = '', boolean $picker = true, integer $format_in = null, integer $format_out = '%x')
Return the date supplied as a Horde_Date object.
integer | $start_year | The first available year for input. |
integer | $end_year | The last available year for input. |
boolean | $picker | Do we show the DHTML calendar? |
integer | $format_in | The format to use when sending the date for storage. Defaults to Unix epoch. Similar to the strftime() function. |
integer | $format_out | The format to use when displaying the date. Similar to the strftime() function. |
emptyDateArray(mixed $date) : integer
Determine if the provided date value is completely empty, partially empty or non-empty.
mixed | $date | String or date part array representation of date. |
0 for non-empty, 1 for completely empty or -1 for partially empty.
getDateParts(string $date_in) : array
Return the date supplied split up into an array.
string | $date_in | Date in one of the three formats supported by Horde_Form and Horde_Date (ISO format YYYY-MM-DD HH:MM:SS, timestamp YYYYMMDDHHMMSS and UNIX epoch) plus the fourth YYYY-MM-DD. |
Array with three elements - year, month and day.
getDateOb(string $date_in) : \Horde_Date
Return the date supplied as a Horde_Date object.
string | $date_in | Date in one of the three formats supported by Horde_Form and Horde_Date (ISO format YYYY-MM-DD HH:MM:SS, timestamp YYYYMMDDHHMMSS and UNIX epoch) plus the fourth YYYY-MM-DD. |
The date object.
formatDate(string $date) : string
Return the date supplied as a Horde_Date object.
string | $date | Either an already set up Horde_Date object or a string date in one of the three formats supported by Horde_Form and Horde_Date (ISO format YYYY-MM-DD HH:MM:SS, timestamp YYYYMMDDHHMMSS and UNIX epoch) plus the fourth YYYY-MM-DD. |
The date formatted according to the $format_out parameter when setting up the monthdayyear field.