function system_date_time_lookup
7.x system.admin.inc | system_date_time_lookup() |
6.x system.admin.inc | system_date_time_lookup() |
Return the date for a given format string via Ajax.
1 string reference to 'system_date_time_lookup'
- system_menu in drupal-7.x/
modules/ system/ system.module - Implements hook_menu().
File
- drupal-7.x/
modules/ system/ system.admin.inc, line 2190 - Admin page callbacks for the system module.
Code
function system_date_time_lookup() {
$result = format_date(REQUEST_TIME, 'custom', $_GET['format']);
drupal_json_output($result);
}