function _datereminder_date_format_internal in Date Reminder 6.2
Same name and namespace in other branches
- 6 includes/date.inc \_datereminder_date_format_internal()
- 7 includes/date.inc \_datereminder_date_format_internal()
Return internal format string for a DateTime.
Parameters
DateTime $dt: The date to convert to internal form.
Return value
string String representation of $dt
2 calls to _datereminder_date_format_internal()
- _datereminder_cron in includes/
cron.inc - Implements hook_cron().
- _datereminder_get_next_reminder in includes/
date.inc - Compute time of next reminder.
File
- includes/
date.inc, line 185 - Some functions dealing with dates.
Code
function _datereminder_date_format_internal($dt) {
return $dt
->format('U');
}