Hi friends i need to get the week count .
for ex 1,2,3 .... 52 based on the current year .
In php week starts from Monday or Sunday by default
Is the
I got my solution thanks to an answer from ramesh.
To change Tuesday as the start of the week, I did it by using:
echo "Week count : ".date("W", strtotime("- 1 day"));