Grab the RSS feed

Calculate four weeks date from current date and time

Hi Friends,

I found one default function in PHP that is reduce our time to calculate the date an time for the weeeks and months and days.

Below I give the simple example to calculate 4 weeks date from current date.

$weekstocalculate[0]='4 Months'

$text1="now +".$text;

echo date("F jS, Y",($text1));
It gives the output like this
Month date,Year 

Please try it and give your feedback 


    Real Time Web Analytics