how to calculate the days according to date.. ?
Posted: Tue Jul 31, 2007 2:11 pm
Hi Friends ....
i have a subscription method on my site ... subscription for three months . now i have to show the days remaining on the page of user .. i have date activated of user & date valid for the subscription in the database .. now to show the days remaining on the page of user what i should i adapt is there is any function in PHP which calculates the days according to the two dates by substraction operation over them .... ???
please help me if anybody can ...
Thanks
waiting for reply ..
i have a subscription method on my site ... subscription for three months . now i have to show the days remaining on the page of user .. i have date activated of user & date valid for the subscription in the database .. now to show the days remaining on the page of user what i should i adapt is there is any function in PHP which calculates the days according to the two dates by substraction operation over them .... ???
please help me if anybody can ...
Thanks
waiting for reply ..