Use the WP time constants as introduced in WP3.5
Merge pull request #1448 from jrfnl/Use-time-constants

Use the WP time constants as introduced in WP3.5