[wp-hackers] Wp_cron and timezone

Otto otto at ottodestruct.com
Tue May 24 05:33:31 UTC 2011


The value must be relative to whatever time() gives you as the current
time. So if time() is giving you UTC, then you should use UTC.

-Otto



On Mon, May 23, 2011 at 11:37 PM, Lox <lox.dev at knc.nc> wrote:
> Hello,
>
> Can anyone can confirm that the $timestamp argument of the
> wp_schedule_event<http://codex.wordpress.org/Function_Reference/wp_schedule_event>function
> must be given in GMT time?
>
> (my sever is configured as UTC+11 as of Wordpress but
> date_default_timezone_get(); gives me utc time as of the time() function)
>
> Regards
>
> --
> Lox
> lox.dev at knc.nc
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list