You are here

function _datereminder_date_format_internal in Date Reminder 7

Same name and namespace in other branches
  1. 6.2 includes/date.inc \_datereminder_date_format_internal()
  2. 6 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

3 calls to _datereminder_date_format_internal()
datereminder_tokens in ./datereminder.module
Implements hook_tokens().
_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 198
Some functions dealing with dates.

Code

function _datereminder_date_format_internal($dt) {
  return $dt
    ->format('U');
}