You are here

function date_calc_get_day in Date 5.2

Same name and namespace in other branches
  1. 6.2 date_php4/date_php4_calc.inc \date_calc_get_day()
  2. 6 date_php4/date_php4_calc.inc \date_calc_get_day()

Returns the current local day in format DD

Parameters

int $days: An integer calculated by date_calc_date_to_days().

Return value

string The current day of the month in two digit format.

18 calls to date_calc_get_day()
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_end_of_week in date_php4/date_php4_calc.inc
Find the month day of the end of week for given date, using variable_get('date_first_day', 1). Can return weekday of following month.
date_calc_get_calendar_week in date_php4/date_php4_calc.inc
Return an array with days in week.

... See full list

File

date_php4/date_php4_calc.inc, line 444

Code

function date_calc_get_day() {
  return date_calc_date_now('%d');
}