You are here

constant DATE_ISO in Date 7.3

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 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.

3 uses of DATE_ISO
date_sql_handler::sql_field in date_api/date_api_sql.inc
Helper function to create cross-database SQL dates.
date_type_format in date_api/date_api.module
Helper function for getting the format string for a date type.
_date_views_fields in date_views/includes/date_views_fields.inc
Identify all potential date/timestamp fields.

File

date_api/date_api.module, line 22
This module will make the date API available to other modules.

Code

define('DATE_ISO', 'date');