[support] php strtotime syntax??
kenrbnsn at rbnsn.com
kenrbnsn at rbnsn.com
Tue Mar 12 16:23:19 UTC 2013
On 12.03.2013 11:40, Wipe_Out wrote:
> Hi,
>
> I am trying to crate a rule that has a condition so it will only work
> between the last Sunday of March and the last Sunday or November to
> coincide with British Summer Time (BST)..
>
> I have tried things like "march last sunday", "april last sunday"
> etc. but can't seem to get the last Sunday of the March..
>
> Anyone have any ideas?
>
> Thanks
echo date('Y-m-d',strtotime('last sunday of march'));
and
echo date('Y-m-d',strtotime('last sunday of november'));
works for me.
Ken
More information about the support
mailing list