You are here

Functions in Date 6

Primary tabs

Namesort descending Location Description Direct uses Strings
date_field_settings_form date/date_admin.inc 1
date_field_settings_validate date/date_admin.inc Custom field settings manipulation. 1
date_formatter_format date/date.module Helper function to return the date format used by a specific formatter. 1
date_formatter_process date/date.module Helper function for creating formatted date arrays from a formatter. 2
date_formatter_setup_form date/date_admin.inc A form to create a date formatter option 1
date_format_date ./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. 9
date_format_interval ./date_api.module An override for interval formatting that adds past and future context 1
date_format_options date/date_admin.inc Store personalized format options for each user. 1
date_format_order ./date_api.module Convert a format to an ordered array of granularity parts. 6
date_format_patterns ./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_form_alter date/date.module Implementation of hook_form_alter(). Make sure date information gets updated.
date_fuzzy_datetime ./date_api.module Create valid datetime value from incomplete ISO dates or arrays. 3
date_getdate date_php4/date_php4.inc Returns an array with date info. 1
date_get_gmt_diff date_php4/date_php4.inc Get local time zone offset from GMT. 3
date_get_timezone date/date.module Function to figure out which timezone applies to a date and select it 5
date_gmdate date_php4/date_php4.inc Like date_date with no GMT conversion. 3
date_gmgetdate date_php4/date_php4.inc Like date_getdate with no GMT conversion.
date_gmmktime date_php4/date_php4.inc Like date_mktime with no GMT conversion. 3
date_granularity date/date.module $field['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 reconfigure this into a… 4
date_granularity_names ./date_api.module Array of granularity options and their labels 3
date_has_time ./date_api.module Function to figure out if any time data is to be collected or displayed. 3
date_help date/date.module Implementation of hook_help().
date_hours ./date_api.module An array of hours. 1
date_ical_date ./date_api_ical.inc Return a date object for the ical date, adjusted to its local timezone. 4
date_ical_escape_text ./date_api_ical.inc Escape #text elements for safe iCal use 1
date_ical_export ./date_api_ical.inc Turn an array of events into a valid iCalendar file
date_ical_import ./date_api_ical.inc Return an array of iCalendar information from an iCalendar file. 1
date_ical_parse ./date_api_ical.inc Return an array of iCalendar information from an iCalendar file. 1
date_ical_parse_date ./date_api_ical.inc Parse a ical date element. 3
date_ical_parse_duration ./date_api_ical.inc Parse the duration of the event. Example: DURATION:PT1H30M DURATION:P1Y2M 1
date_ical_parse_exceptions ./date_api_ical.inc Parse exception dates (can be multiple values). 2
date_ical_parse_rrule ./date_api_ical.inc Parse an ical repeat rule. 3
date_ical_parse_text ./date_api_ical.inc Parse and clean up ical text elements. 1
date_import_taxonomy_form2node date_copy/date_copy.module Convert the taxonomy array from the form form to the node form. Borrowed from the Node Import module. 1
date_increment_round ./date_api_elements.inc Helper function to round minutes and seconds to requested value. 2
date_init date/date.module Implementation of hook_init().
date_input_format date/date_elements.inc Determine the input format for this element. 1
date_install date/date.install Implementation of hook_install(). Reset the date caches.
date_install_load date/date.install 13
date_iso_array ./date_api.module Create an array of date parts from an ISO date. 2
date_iso_weeks_in_year ./date_api.module Identify the number of ISO weeks in a year for a date. 1
date_is_dst date_php4/date_php4.inc Check if time is in Daylight Savings Time 1
date_is_leap_year date_php4/date_php4.inc Returns true for a leap year, else false. Works outside normal date range. 6
date_is_valid ./date_api.module Functions to test the validity of a date in various formats. Has special case for ISO dates and arrays which can be missing month and day and still be valid. 9
date_limit_format ./date_api.module Rewrite a format string so it only inludes elements from a specified granularity array. 8
date_limit_value ./date_api.module Recalculate a date so it only includes elements from a granularity array. Helps prevent errors when unwanted values round up and ensures that unwanted date part values don't get stored in the database. 2
date_local_date date/date_elements.inc Create local date object. 1
date_long_formats ./date_api.module An array of long date formats. 1
date_make_date ./date_api.module Convert a date of any type or an array of date parts into a valid date object. 31
date_medium_formats ./date_api.module An array of medium date formats. 1

Pages

Other projects