Stud.IP  5.4
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()

check_date (   $month,
  $day,
  $year,
  $hour = 0,
  $min = 0 
)

◆ check_singledate()

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()

holiday (   $tmstamp,
  $mod = "" 
)