You are here

constant DATE_REGEX_ISO in Date 5

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

File

./date_api.module, line 20
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_ISO', '/(\\d{4})-(\\d{2})-(\\d{2})T(\\d{2}):(\\d{2}):?(\\d{2})?/');