You are here

Functions in Date 7

Primary tabs

Namesort descending Location Description Direct uses Strings
date_field_info ./date.field.inc Implements hook_field_info(). 3
date_field_insert ./date.field.inc Implements hook_field_insert().
date_field_instance_settings_form ./date.field.inc Wrapper functions for date administration, included only when processing field settings.
date_field_instance_settings_form_validate ./date_admin.inc 1
date_field_is_empty ./date.field.inc Implements hook_field_is_empty().
date_field_load ./date.field.inc Implements hook_field_load().
date_field_presave ./date.field.inc Implements hook_field_presave().
date_field_schema ./date.install @file Installation code for CCK date module.
date_field_settings_form ./date.field.inc
date_field_settings_validate ./date_admin.inc Custom field settings manipulation. 1
date_field_update ./date.field.inc Implements hook_field_update(). 2
date_field_validate ./date.field.inc Implements hook_field_validate().
date_field_views_data_alter date_views/date_views.module Create a Views field for each date column we care about to supplement the generic 'entity_id' and 'revision_id' fields that are automatically created.
date_field_widget_error ./date.module Implements hook_field_widget_error().
date_field_widget_form ./date_elements.inc Private implementation of hook_widget().
date_field_widget_info ./date.field.inc Implements hook_field_widget_info(). 1
date_field_widget_settings_form ./date.field.inc
date_field_widget_settings_form_validate ./date_admin.inc 1
date_formatter_format ./date.module Retrieve a date format string from formatter settings. 1
date_formatter_get_settings ./date.install A copy of a D6 function we can use to retrive the formatter settings and return them as an option array.
date_formatter_process ./date.module Helper function for creating formatted date arrays from a formatter. 1
date_format_date date_api/date_api.module Reworked from Drupal's format_date function to handle pre-1970 and post-2038 dates and accept a date object instead of a timestamp as input. 14
date_format_interval date_api/date_api.module An override for interval formatting that adds past and future context 2
date_format_order date_api/date_api.module Convert a format to an ordered array of granularity parts. 13
date_format_patterns date_api/date_api.module Array of regex replacement strings for date format elements. Used to allow input in custom formats. Based on work done for the Date module by Yves Chedemois (yched). 1
date_format_type_options date_api/date_api.module 2
date_form_alter ./date.module Implements hook_form_alter(). Make sure date information gets updated.
date_get_nested_elements date_api/date_api.module Return the nested form elements for a field by name. This can be used either to retrieve the entire sub-element for a field by name, no matter how deeply nested it is within fieldgroups or multigroups, or to find the multiple value sub-elements within…
date_get_timezone date_api/date_api.module Function to figure out which local timezone applies to a date and select it 7
date_get_timezone_db date_api/date_api.module Function to figure out which db timezone applies to a date and select it 12
date_granularity ./date.module $field['settings']['granularity'] will contain an array like ('hour' => 'hour', 'month' => 0) where the values turned on return their own names and the values turned off return a zero need to… 1
date_granularity_array_from_precision date_api/date_api.module Give a granularity $precision, return an array of all the possible granularity elements.
date_granularity_format date_api/date_api.module Construct an appropriate DATETIME format string for the granularity of an item.
date_granularity_names date_api/date_api.module Array of granularity options and their labels 4
date_granularity_precision date_api/date_api.module Give a granularity array, return the highest precision. 1
date_granularity_sorted date_api/date_api.module Sort a granularity array.
date_handler_fields date_views/date_views.module Identify all fields in this view that use the CCK Date handler. 2
date_has_date date_api/date_api.module 1
date_has_time date_api/date_api.module Function to figure out if any time data is to be collected or displayed. 10
date_help ./date.module Implement hook_help().
date_hours date_api/date_api.module An array of hours. 1
date_ical_date date_api/date_api_ical.inc Return a date object for the ical date, adjusted to its local timezone. 4
date_ical_escape_text date_api/date_api_ical.inc Escape #text elements for safe iCal use 1
date_ical_import date_api/date_api_ical.inc Return an array of iCalendar information from an iCalendar file.
date_ical_parse date_api/date_api_ical.inc Return an array of iCalendar information from an iCalendar file. 2
date_ical_parse_date date_api/date_api_ical.inc Parse a ical date element. 3
date_ical_parse_duration date_api/date_api_ical.inc Parse the duration of the event. Example: DURATION:PT1H30M DURATION:P1Y2M 1
date_ical_parse_exceptions date_api/date_api_ical.inc Parse exception dates (can be multiple values). 2
date_ical_parse_location date_api/date_api_ical.inc Parse location elements. 1
date_ical_parse_rrule date_api/date_api_ical.inc Parse an ical repeat rule. 3

Pages

Other projects