Get the Month Name
Parameters:
$month - Integer value of Month
Returns:
$month_name - String value of Month
Get the number of days in specified month
Parameters:
$year - year
$month - month
Returns:
$daysinmonth - Number of days
Returns Delta in minutes between 2 dates
Returns number of seconds since 1970
Get the Day of Week (1 for Monday, 7 for Sunday)
Parameters:
$year - year
$month - month
$day - day
Returns:
$dayofweek - Day of Week
Get the Day of Week
Parameters:
$wday - Integer value of Day of Week
Returns:
$weekday_name - String value of Day of Week
Get the Week of the Year
Returns an Array of 2 hashrefs with the Begin & End of the Day
Returns an Array of 2 hashrefs with the Begin & End of the Hour
Returns an Array of 2 hashrefs with the Begin & End of the Month
Returns an Array of 2 hashrefs with the Begin & End of the Week
Returns an Array of 2 hashrefs with the Begin & End of the Year
Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Day
Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Hour
Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Month
Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Week
Returns an Array of 2 hashrefs with the Begin & End of the Last/Previous Year
Sebastien Thebert <octo.devel@gmail.com>