How do i display a date as a new column 7 days after the initial timestamp
eg
current timestamp = 20050310000000
if i add 7 days to this won't it result in 20050317000000
eg SELECT *, DATE_FORMAT('%d/%m/%Y' , (dateAuthorised +7)) as expiryDate
I know this is the wrong approach as the timestamp 20050330000000 would
cause an error
Any help would be grateful
Craig
eg
current timestamp = 20050310000000
if i add 7 days to this won't it result in 20050317000000
eg SELECT *, DATE_FORMAT('%d/%m/%Y' , (dateAuthorised +7)) as expiryDate
I know this is the wrong approach as the timestamp 20050330000000 would
cause an error
Any help would be grateful
Craig
Comment