protected DateTimePlus::prepareTime($time)
Prepares the input time value.
Changes the input value before trying to use it, if necessary. Can be overridden to handle special cases.
mixed $time: An input value, which could be a timestamp, a string, or an array of date parts.
mixed The massaged time.
protected function prepareTime($time) { return $time; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Datetime!DateTimePlus.php/function/DateTimePlus::prepareTime/8.1.x