You are here

constant DATE_REGEX_DATETIME in Date 5

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

File

./date_api.module, line 21
A module that will make the date API available to other modules with no dependencies on CCK. To use it, install the module, then add the following code wherever date api functions are needed:

Code

define('DATE_REGEX_DATETIME', '/(\\d{4})-(\\d{2})-(\\d{2})\\s(\\d{2}):(\\d{2}):?(\\d{2})?/');