Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
calendar_functions.inc.php File Reference

Namespaces

 studip_core
 

Functions

 holiday ($tmstamp, $mod="")
 
 check_date ($month, $day, $year, $hour=0, $min=0)
 
 check_singledate ($day, $month, $year, $start_hour, $start_minute, $end_hour, $end_minute)
 

Function Documentation

check_date (   $month,
  $day,
  $year,
  $hour = 0,
  $min = 0 
)
check_singledate (   $day,
  $month,
  $year,
  $start_hour,
  $start_minute,
  $end_hour,
  $end_minute 
)

checks values that shall become a single date with start- and endtime

Parameters
string$day
string$month
string$year
string$start_hour
string$start_minute
string$end_hour
string$end_minute
Returns
bool true if date is valid, false otherwise
holiday (   $tmstamp,
  $mod = "" 
)