Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
PHPerKaigi 2025

Voting

: max(one, seven)?
(Example: nine)

The Note You're Voting On

jg at delegation dot ca
20 years ago
To sort dates with uksort:

function datediff($a, $b) {


$a = date('U',$a);
$b = date('U',$b);

if ($a == $b) $r = 0;
else $r = ($a > $b) ? 1: -1;

return $r;
}

<< Back to user notes page

To Top