Calculate date difference having a large range with PHP -
I need to calculate the number of decades between the spread of possible spread of 170 dates till date - limitations are as many as I can do away with
thanks!
Itemprop = "text">
If you have PHP> = 5.3.0:
$ before = new date time ('1708-02-02'); $ Decades = $ first-> Different (new date time ()) - & gt; Y / 10;
Comments
Post a Comment