
Originally Posted by
colt103e
I have a trouble . If I want to the year for this example:
------------------------------------------------------------------
Now Year==> 1980
*charge Year ==> 60(I wish value)
------------------------------------------------------------------
How to become that?
thank.
I don't quite get your question, but if you want to bring the value of past year. You can change minus 1 to your desired past year.
Code:
$last_year = date("y")-1;
I don't know if this is what you need.
My two cents :)
Bookmarks