Is there a way to use the date()
function and have it return the a specific Timezone's current date, and not the server date?
I understand I can use:
date_default_timezone_set('Asia/Tokyo');
date('j F Y');
however, I am doing this in the context of a large application, and doing the date_default_timezone_set()
might make the other date operations in the rest of the script behave differently.