Public feed #892938

Miscellany

public text v1 · immutable
Raw Edit
·published 2008-02-05 19:54 UTC
rendered paste body
$birthYear = 1982;

$birtMonth = 09;

$birtDate = 21;

$currentYear = date ("Y");

$currentMonth = date ("m");

$currentDate = date ("d");

$years = $currentYear - $birthYear;

if ( ($currentMonth < $birtMonth) || ($currentMonth == $birtMonth && $currentDate < $birtDate) )
{

}