sql - updating table with datetime 6 hours advance -
i wonder if possible have done jquery need on database have no control aside updating it, want accomplish update 6 hours advance lets time 1am i'd 7am
this code works
$upexpdate = "update ffcko_invoices_payments set payment_duedate=now() invoice_id=14"; for getting current date , time wonder if possible make 6 hour advance.
thank pls. forgive me english.
this quite simple in mysql:
update ffcko_invoices_payments set payment_duedate = now() + interval 6 hour invoice_id = 14;
Comments
Post a Comment