Timezone madness with WordPress

Correct date and time using WordPress Settings timezone instead of the server date.timezone Retrieve either timestamp or specific date format (since 3.9)…