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