Function epl_feedsync_switch_date_time
REAXML convert date/time to adjust for timezone
Processing Function for WP All Import and FeedSync [epl_feedsync_switch_date_time({firstDate[1]},"Australia/Perth","Australia/Sydney")]
Package: EPL\Functions\Global
Copyright: Copyright (c) 2020, Merv Barrett
License: GNU Public License
Since: 3.0
Since: 3.5.3 Update to return local timestamp.
Located at lib/includes/functions.php
Copyright: Copyright (c) 2020, Merv Barrett
License: GNU Public License
Since: 3.0
Since: 3.5.3 Update to return local timestamp.
Located at lib/includes/functions.php
Parameters summary
boolean |
$date_time = false |
Switch date time. |
string |
$old_time_zone = 'Australia/Perth' |
Old Timezone. |
string |
$new_timezone = 'Australia/Sydney' |
New timezone. |
string |
$format = 'Y-m-d H:i:s' |
Date format. |
Return value summary
string
|
string |
Thrown exceptions summary
exception
|
Exception. |