__construct()
__construct() :
DATE
DATE
Common date and time functions
splitDate( dateInput) : mixed||string|int
Take input from HTML FORM <input type=date> and split into separate fields.
Date comes in as 'yyyy-mm-dd' (but displayed on web form as 'dd / mm / yyyy'). All three fields must have a valid value else the form input is FALSE. This should be tested before calling this function.
dateInput |
array(year, month, day)