Name Locationsort ascending Description
date_format_date core/includes/date.inc Formats a date, using a date type or a custom date format string.
date_format_interval core/includes/date.inc Formats a time interval with granularity, including past and future context.
date_now core/includes/date.inc A date object for the current time.
date_timezone_is_valid core/includes/date.inc Determines if a timezone string is valid.
date_default_timezone core/includes/date.inc Returns a timezone name to use as a default.
date_default_timezone_object core/includes/date.inc Returns a timezone object for the default timezone.
date_days_in_month core/includes/date.inc Identifies the number of days in a month for a date.
date_days_in_year core/includes/date.inc Identifies the number of days in a year for a date.
date_iso_weeks_in_year core/includes/date.inc Identifies the number of ISO weeks in a year for a date.
date_day_of_week core/includes/date.inc Returns day of week for a given date (0 = Sunday).
date_day_of_week_name core/includes/date.inc Returns translated name of the day of week for a given date.
date_week_range core/includes/date.inc Calculates the start and end dates for a calendar week.
date_iso_week_range core/includes/date.inc Calculates the start and end dates for an ISO week.
date_weeks_in_year core/includes/date.inc The number of calendar weeks in a year.
date_week core/includes/date.inc The calendar week number for a date.
date_pad core/includes/date.inc Helper function to left pad date parts with zeros.
date_has_time core/includes/date.inc Determines if the granularity contains a time portion.
date_has_date core/includes/date.inc Determines if the granularity contains a date portion.
date_part_format core/includes/date.inc Helper function to get a format for a specific part of a date field.
date_limit_format core/includes/date.inc Limits a date format to include only elements from a given granularity array.
date_format_order core/includes/date.inc Converts a format to an ordered array of granularity parts.
date_nongranularity core/includes/date.inc Strips out unwanted granularity elements.
date_get_timezone core/includes/date.inc Function to figure out which local timezone applies to a date and select it.
date_get_timezone_db core/includes/date.inc Function to figure out which DB timezone applies to a date.
date_range_valid core/includes/date.inc Tests validity of a date range string.
date_range_years core/includes/date.inc Splits a string like -3:+3 or 2001:2010 into an array of start and end years.
date_range_string core/includes/date.inc Converts a min and max year into a string like '-3:+1'.
date_is_all_day core/includes/date.inc Determine if a start/end date combination qualify as 'All day'.
date_increment_round core/includes/date.inc Helper function to round minutes and seconds to requested value.
date_is_date core/includes/date.inc Determines if a date object is valid.
date_make_iso_valid core/includes/date.inc Replace specific ISO values using patterns.
BackdropDateTime::format core/includes/date.class.inc
BackdropDateTime::addGranularity core/includes/date.class.inc Adds a granularity entry to the array.
BackdropDateTime::removeGranularity core/includes/date.class.inc Removes a granularity entry from the array.
BackdropDateTime::hasGranularity core/includes/date.class.inc Checks granularity array for a given entry.
BackdropDateTime::validGranularity core/includes/date.class.inc Determines if a a date is valid for a given granularity.
BackdropDateTime::hasTime core/includes/date.class.inc Returns whether this object has time set.
BackdropDateTime::limitGranularity core/includes/date.class.inc Removes unwanted date parts from a date.
BackdropDateTime::setGranularityFromTime core/includes/date.class.inc Determines the granularity of a date based on the constructor's arguments.
BackdropDateTime::parse core/includes/date.class.inc Converts a date string into a date object.
BackdropDateTime::toArray core/includes/date.class.inc Returns all standard date parts in an array.
BackdropDateTime::toISO core/includes/date.class.inc Creates an ISO date from an array of values.
BackdropDateTime::setFuzzyDate core/includes/date.class.inc Forces an incomplete date to be valid.
BackdropDateTime::forceValid core/includes/date.class.inc Converts a date part into something that will produce a valid date.
BackdropDateTime::arrayErrors core/includes/date.class.inc Finds possible errors in an array of date part values.
BackdropDateTime::difference core/includes/date.class.inc Computes difference between two days using a given measure.
BackdropDateTime::__toString core/includes/date.class.inc Returns the date object as a string.
BackdropDateTime::__construct core/includes/date.class.inc Constructs a date object.
BackdropDateTime::merge core/includes/date.class.inc Merges two date objects together using the current date values as defaults.
BackdropDateTime::setTimezone core/includes/date.class.inc

Pages