You are here

constant DATE_ARRAY in Date 6

Same name and namespace in other branches
  1. 5.2 date_api.module \DATE_ARRAY
  2. 6.2 date_api.module \DATE_ARRAY
  3. 7.3 date_api/date_api.module \DATE_ARRAY
  4. 7 date_api/date_api.module \DATE_ARRAY
  5. 7.2 date_api/date_api.module \DATE_ARRAY
7 uses of DATE_ARRAY
date_convert in ./date_api.module
Date conversion helper function.
date_convert_from_custom in ./date_api_elements.inc
Convert a date input in a custom format to a standard date type
date_is_valid in ./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.
date_limit_value in ./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.
date_part_extract in ./date_api.module
Extract integer value of any date part from any type of date.

... See full list

File

./date_api.module, line 23
This module will make the date API available to other modules. Designed to provide a light but flexible assortment of functions and constants, with more functionality in additional files that are not loaded unless other modules specifically include them.

Code

define('DATE_ARRAY', 'array');