Win a new Mac Book Air laptop

Yesterday in PHP

$yesterday = date("d/m/Y", time()-86400);

(I have a mental block and can never rember if it is PHP or MySQL with the %Y etc.)

Leave a Reply