|
Stud.IP
3.1 Revision 48552
|
Namespaces | |
| namespace | studip_core |
Functions | |
| wday ($tmstamp="", $mode="LONG", $day_german="") | |
| ldate ($tmstamp) | |
| holiday ($tmstamp, $mod="") | |
| check_date ($month, $day, $year, $hour=0, $min=0) | |
| day_diff ($ts_1, $ts_2) | |
| get_day_name ($day) | |
| check_singledate ($day, $month, $year, $start_hour, $start_minute, $end_hour, $end_minute) | |
| 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
| string | $day | |
| string | $month | |
| string | $year | |
| string | $start_hour | |
| string | $start_minute | |
| string | $end_hour | |
| string | $end_minute |


| day_diff | ( | $ts_1, | |
| $ts_2 | |||
| ) |
| get_day_name | ( | $day | ) |
Useful function to return the name of the n-th day. Note that the first day's is 1 not 0. Thus "monday" is "1" and "sunday" is "7"!
| int | the index of the day |
| holiday | ( | $tmstamp, | |
$mod = "" |
|||
| ) |
| ldate | ( | $tmstamp | ) |

| wday | ( | $tmstamp = "", |
|
$mode = "LONG", |
|||
$day_german = "" |
|||
| ) |
