Esempio n. 1
0
 /**
  * Returns a set of html select-tags (one for hour and minute)
  */
 static function select_time($datetime = null, $options = array())
 {
     $datetime = empty($datetime) ? Ak::getDate() : $datetime;
     return AkDateHelper::select_hour($datetime, $options) . AkDateHelper::select_minute($datetime, $options) . (!empty($options['include_seconds']) ? AkDateHelper::select_second($datetime, $options) : '');
 }