Adding Mysql Timestamp functions