/** * Returns a set of html select-tags (one for year, month, day, hour, and minute) pre-selected with the +datetime+. */ static function select_datetime($datetime = null, $options = array()) { $datetime = empty($datetime) ? Ak::getDate() : $datetime; return AkDateHelper::select_date($datetime, $options) . AkDateHelper::select_time($datetime, $options); }