You are here

constant DATE_ISO in Date 7

Same name and namespace in other branches
  1. 8 date_api/date_api.module \DATE_ISO
  2. 5.2 date_api.module \DATE_ISO
  3. 5 date_api.module \DATE_ISO
  4. 6.2 date_api.module \DATE_ISO
  5. 6 date_api.module \DATE_ISO
  6. 7.3 date_api/date_api.module \DATE_ISO
  7. 7.2 date_api/date_api.module \DATE_ISO

Set up some constants.

Includes standard date types, format strings, strict regex strings for ISO and DATETIME formats (seconds are optional).

The loose regex will find any variety of ISO date and time, with or without time, with or without dashes and colons separating the elements, and with either a 'T' or a space separating date and time.

6 uses of DATE_ISO
date_field_update in ./date.field.inc
Implements hook_field_update().
date_formatter_process in ./date.module
Helper function for creating formatted date arrays from a formatter.
date_sql_handler::sql_field in date_api/date_api_sql.inc
Helper function to create cross-database SQL dates.
date_token_values in ./date_token.inc
date_type_format in date_api/date_api.module
Helper function for getting the format string for a date type.

... See full list

File

date_api/date_api.module, line 20
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_ISO', 'date');