date_make_iso_valid |
includes/date.inc |
Replace specific ISO values using patterns. |
date_is_date |
includes/date.inc |
Determines if a date object is valid. |
date_increment_round |
includes/date.inc |
Helper function to round minutes and seconds to requested value. |
date_is_all_day |
includes/date.inc |
Determine if a start/end date combination qualify as 'All day'. |
date_range_string |
includes/date.inc |
Converts a min and max year into a string like '-3:+1'. |
date_range_years |
includes/date.inc |
Splits a string like -3:+3 or 2001:2010 into an array of start and end years. |
date_range_valid |
includes/date.inc |
Tests validity of a date range string. |
date_get_timezone_db |
includes/date.inc |
Function to figure out which DB timezone applies to a date. |
date_get_timezone |
includes/date.inc |
Function to figure out which local timezone applies to a date and select it. |
date_nongranularity |
includes/date.inc |
Strips out unwanted granularity elements. |
date_format_order |
includes/date.inc |
Converts a format to an ordered array of granularity parts. |
date_limit_format |
includes/date.inc |
Limits a date format to include only elements from a given granularity array. |
date_part_format |
includes/date.inc |
Helper function to get a format for a specific part of a date field. |
date_has_date |
includes/date.inc |
Determines if the granularity contains a date portion. |
date_has_time |
includes/date.inc |
Determines if the granularity contains a time portion. |
date_pad |
includes/date.inc |
Helper function to left pad date parts with zeros. |
date_week |
includes/date.inc |
The calendar week number for a date. |
date_weeks_in_year |
includes/date.inc |
The number of calendar weeks in a year. |
date_iso_week_range |
includes/date.inc |
Calculates the start and end dates for an ISO week. |
date_week_range |
includes/date.inc |
Calculates the start and end dates for a calendar week. |
date_day_of_week_name |
includes/date.inc |
Returns translated name of the day of week for a given date. |
date_day_of_week |
includes/date.inc |
Returns day of week for a given date (0 = Sunday). |
date_iso_weeks_in_year |
includes/date.inc |
Identifies the number of ISO weeks in a year for a date. |
date_days_in_year |
includes/date.inc |
Identifies the number of days in a year for a date. |
date_days_in_month |
includes/date.inc |
Identifies the number of days in a month for a date. |
date_default_timezone_object |
includes/date.inc |
Returns a timezone object for the default timezone. |
date_default_timezone |
includes/date.inc |
Returns a timezone name to use as a default. |
date_timezone_is_valid |
includes/date.inc |
Determines if a timezone string is valid. |
date_now |
includes/date.inc |
A date object for the current time. |
date_format_interval |
includes/date.inc |
Formats a time interval with granularity, including past and future context. |
date_format_date |
includes/date.inc |
Formats a date, using a date type or a custom date format string. |
date_timezone_abbr |
includes/date.inc |
Returns an array of system-allowed timezone abbreviations. |
date_timezone_names |
includes/date.inc |
Returns a translated array of timezone names. |
date_granularity_precision |
includes/date.inc |
Give a granularity array, return the highest precision. |
date_granularity_array_from_precision |
includes/date.inc |
Constructs an array of granularity based on a given precision. |
date_granularity_sorted |
includes/date.inc |
Sorts a granularity array. |
date_granularity_names |
includes/date.inc |
Constructs an array of granularity options and their labels. |
date_format_patterns |
includes/date.inc |
Constructs an array of regex replacement strings for date format elements. |
date_ampm |
includes/date.inc |
Constructs an array of AM and PM options. |
date_seconds |
includes/date.inc |
Constructs an array of seconds. |
date_minutes |
includes/date.inc |
Constructs an array of minutes. |
date_hours |
includes/date.inc |
Constructs an array of hours. |
date_days |
includes/date.inc |
Constructs an array of days in a month. |
date_years |
includes/date.inc |
Constructs an array of years. |
date_week_days_ordered |
includes/date.inc |
Reorders weekdays to match the first day of the week. |
date_week_days_abbr |
includes/date.inc |
Constructs a translated array of week day abbreviations. |
date_week_days |
includes/date.inc |
Returns a translated array of week names. |
date_week_days_untranslated |
includes/date.inc |
Constructs an untranslated array of week days. |
date_month_names_abbr |
includes/date.inc |
Constructs a translated array of month name abbreviations. |
date_month_names |
includes/date.inc |
Returns a translated array of month names. |