Creates an example for a date format.
This is centralized for a consistent method of creating these examples.
string $format:
string
function datetime_format_example($format) {
$date =& drupal_static(__FUNCTION__);
if (empty($date)) {
$date = new DrupalDateTime();
}
return $date
->format($format);
}