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-6.x/
modules/ system/ system.module - Implementation of hook_menu().
File
- drupal-6.x/
modules/ system/ system.admin.inc, line 1648 - Admin page callbacks for the system module.
Code
function system_date_time_lookup() {
$result = format_date(time(), 'custom', $_GET['format']);
drupal_json($result);
}