You are here

constant DATE_UNIX in Date 8

Same name and namespace in other branches
  1. 5.2 date_api.module \DATE_UNIX
  2. 5 date_api.module \DATE_UNIX
  3. 6.2 date_api.module \DATE_UNIX
  4. 6 date_api.module \DATE_UNIX
  5. 7.3 date_api/date_api.module \DATE_UNIX
  6. 7 date_api/date_api.module \DATE_UNIX
  7. 7.2 date_api/date_api.module \DATE_UNIX
6 uses of DATE_UNIX
DateSqlHandler::sql_field in date_api/lib/Drupal/date_api/DateSqlHandler.php
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_argument_handler_simple::init in date_views/includes/date_views_argument_handler_simple.inc
Get granularity and use it to create the formula and a format for the results.
date_views_date_views_fields in date_views/date_views.module
Implements hook_date_views_fields().
date_views_filter_handler_simple::init in date_views/includes/date_views_filter_handler_simple.inc

... See full list

File

date_api/date_api.module, line 114
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

const DATE_UNIX = 'timestamp';