Help with MySQL date operation
        Posted  
        
            by jartaud
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by jartaud
        
        
        
        Published on 2010-05-22T18:54:14Z
        Indexed on 
            2010/05/22
            19:00 UTC
        
        
        Read the original article
        Hit count: 285
        
Hello i have two columns: duration (int) and dateCol (date) in a table. How should i proceed if i want to know when CURDATE() - dateCol will iqual to duration.
ie: CURDATE() - dateCol (2010-05-08) = duration (14 days), and then send an e-amil?
© Stack Overflow or respective owner