In php
$your_timestamp += gmmktime(0,0,0,1,1,1972);
MySQL has INTERVALling options.

Regards,
Andrey

----- Original Message ----- 
From: "Dave Carrera" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 18, 2002 10:11 AM
Subject: [PHP-DB] How to add 2 years to todays date ?


> Hi All
> I think the subject line says it all.
>  
> How to add 2 years to today's date ?
>  
> Any helps as always most appreciated.
>  
>  
>  
> Dave Carrera
> Php Developer
> http://davecarrera.freelancers.net
> http://www.davecarrera.com
>  
>  
> 


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to