WordPress & Timezones: Making Date() & StrToTime() Work Properly

This post explains how Timezones are handled in Wordpress, and presents a simple PHP Function to mimic StrToTime()'s functionality while accounting for the local timezone of the website.

WordPress & Timezones: Making Date() & StrToTime() Work Properly

This post explains how Timezones are handled in Wordpress, and presents a simple PHP Function to mimic StrToTime()'s functionality while accounting for the local timezone of the website.