function date_calc_get_month in Date 6
Same name and namespace in other branches
- 5.2 date_php4/date_php4_calc.inc \date_calc_get_month()
- 6.2 date_php4/date_php4_calc.inc \date_calc_get_month()
Returns the current local month in format MM
Parameters
int $days: An integer calculated by date_calc_date_to_days().
Return value
string The current month in two digit format.
26 calls to date_calc_get_month()
- date_calc_begin_of_month_by_span in date_php4/
date_php4_calc.inc - Returns date of the first day of the month in the number of months from the given date
- date_calc_begin_of_next_week in date_php4/
date_php4_calc.inc - Find the month day of the beginning of week after given date, using variable_get('date_first_day', 1). Can return weekday of next month.
- date_calc_begin_of_prev_week in date_php4/
date_php4_calc.inc - Find the month day of the beginning of week before given date, using variable_get('date_first_day', 1). Can return weekday of prev month.
- date_calc_begin_of_week in date_php4/
date_php4_calc.inc - Find the month day of the beginning of week for given date, using variable_get('date_first_day', 1). Can return weekday of prev month.
- date_calc_days_in_month in date_php4/
date_php4_calc.inc - Find the number of days in the given month.
File
- date_php4/
date_php4_calc.inc, line 431
Code
function date_calc_get_month() {
return date_calc_date_now('%m');
}