1 cron_example.module cron_example_date_iso8601($date)

Related topics

File

modules/examples/cron_example/cron_example.module, line 275
Hook implementations for the Cron Example module.

Code

function cron_example_date_iso8601($date) {
  // The DATE_ISO8601 constant cannot be used here because it does not match
  // date('c') and produces invalid RDF markup.
  return date('c', $date);
}