Jump to content

How to get weekly time e.g from thursday to thursday???


hmdnawaz

Recommended Posts

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.