Calculate week in PHP

Use this script to calculate a week in PHP

$date = mktime(0, 0, 0, 01,27, 2011);
$week = (int)date(‘W’, $date);

Bansal Sumit

To seek challenging roles and to achieve excellence in the field of Open Source Web Technology with a profound spirit of commitment and dedication.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *