Week function in PHP

Hi!!
I am just curious to know if there is any built in function in PHP to retrive data from mysql for current week??
I use the following query which displays the result as well. But i am not sure if it is the correct way to generate weekly report.

$query=("SELECT COUNT(*) AS the_count FROM call_details WHERE week(call_start_date) = week(NOW())");

Is this query fetching correct results??

I have no idea, but i find a usful way of checking my own query’s is to input them direct into MySQL to see if i get my intended results, if i do, then i know the problem is related to my PhP.