Default timezone hardcoded as UTC?

Somehow I missed the current_time function, which gives a good description of the situation and how to properly deal with the need to get the current blog-local time.

http://codex.wordpress.org/Function_Reference/current_time

Though the purist in me still hates how WP makes the time zone setting in php.ini obsolete without giving you a choice. *grumble grumble*

Leave a Comment