How to get weekly time e.g from thursday to thursday???
Posted: Mon Mar 14, 2011 6:52 am
I want to recieve emails on weekly manner from thursday to thursday. For this how can i set the variables to pass to the sql query.
I worte this
$start_date = mktime(0, 0, 1, date("m"), date("j")-7, date("Y"));
but it will calculate date from today.
And I want to recieve emails on every friday morning.
So please write the code for me also write the end date.
Thanks in advance.
I worte this
$start_date = mktime(0, 0, 1, date("m"), date("j")-7, date("Y"));
but it will calculate date from today.
And I want to recieve emails on every friday morning.
So please write the code for me also write the end date.
Thanks in advance.