Rather than manually inserting the time zone he pulls it from the database:
date_default_timezone_set(get_option('timezone_string'));
A far more elegant solution.
Rather than manually inserting the time zone he pulls it from the database:
date_default_timezone_set(get_option('timezone_string'));
A far more elegant solution.
@colinwalker :-)