Month_Name($month)
Get the Month Name
Parameters:
$month - Integer value of Month
Returns:
$month_name - String value of Month
Month_Nb_Days($year,$month)
Get the number of days in specified month
Parameters:
$year - year
$month - month
Returns:
$daysinmonth - Number of days
Delta
Returns Delta in minutes between 2 dates
Seconds_Since_1970($year,$month,$day,$hour,$min)
Returns number of seconds since 1970
WeekDay($year,$month,$day)
Get the Day of Week (1 for Monday, 7 for Sunday)
Parameters:
$year - year
$month - month
$day - day
Returns:
$dayofweek - Day of Week
WeekDay_Name($wday)
Get the Day of Week
Parameters:
$wday - Integer value of Day of Week
Returns:
$weekday_name - String value of Day of Week
YearWeek($year,$month,$day)
Get the Week of the Year
Current_Day()
Returns an Array of 2 hashrefs with the Begin & End of the Day
Current_Hour()
Returns an Array of 2 hashrefs with the Begin & End of the Hour
Current_Month()
Returns an Array of 2 hashrefs with the Begin & End of the Month
Current_Week()
Returns an Array of 2 hashrefs with the Begin & End of the Week
Current_Year()
Returns an Array of 2 hashrefs with the Begin & End of the Year
Last_Day()
Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Day
Last_Hour()
Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Hour
Last_Month()
Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Month
Last_Week()
Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Week
Last_Year()
Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Year