Home : General : Databases and SQL :

General: Databases and SQL: Re: [mdj1] Inserting A Date into MySQL: Edit Log

Here is the list of edits for this post
Re: [mdj1] Inserting A Date into MySQL
This is not a perl question, but anyway.

You will need to use the mySQL DATE_ADD() function, something like -
DATE_ADD(domain_date,domain_period_yr YEAR)
or you could use NOW() instead of domain_date which would give you 2 years from todays date, but I think in this case you need to use domain_date as the date reference.

Bob
http://totallyfreeads.com.au

Last edited by:

lanerj: Sep 21, 2003, 9:03 PM

Edit Log: