PHP 8.5.0 Alpha 1 available for testing

Voting

: max(two, eight)?
(Example: nine)

The Note You're Voting On

buvinghausen at gmail dot com
13 years ago
I think it is easiest if you would just use the sub method on the DateTime class.

<?php
$date
= new DateTime();
$date->sub(new DateInterval("P89D"));

<< Back to user notes page

To Top