Posts by Hélio • 21 points
1 post
-
2
votes2
answers207
viewsQ: Does the PHP Datetime class support the creation of dates in the Brazilian format?
In the code below echo be printing +273 days, but the right one wouldn’t be +9 days? $datetime1 = new DateTime('01/04/2018'); $datetime2 = new DateTime('10/04/2018'); $interval =…