datetime - MySQL: Add 30 days to a value in the table -


I am trying to use the ADDDATE function on a value in the table.

  addOns = ADDDATE (addOns, INTERVAL 30)   

is addOns where I can not add 30 days where I store datetime / Can i

Updated credit SET addOns = ADDDATE (addOns, INTERVAL 30 DAY) - or updated credit SET addOns = ADDDATE (addOns, 30)

  / Code>   

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -