Function current_datetime
Retrieves the current time as an object using the site's timezone.
Package: EPL\Compatibility\Shortcodes
Copyright: Copyright (c) 2016, Merv Barrett
License: GNU Public License
Since: 3.5.7 Added as this function is not present before WordPress 5.3.0
Located at lib/compatibility/wp-functions-compat.php
Copyright: Copyright (c) 2016, Merv Barrett
License: GNU Public License
Since: 3.5.7 Added as this function is not present before WordPress 5.3.0
Located at lib/compatibility/wp-functions-compat.php
Return value summary
DateTimeImmutable
|
Date and time object. |