Jump to content

SQL code help


arjundass

Recommended Posts

this is php code, not sql

if $this->date_add is unix timestamp you may add the number of seconds 3600*24*90

if $this->date_add is string convert it to time with DateTime::createFromFormat() first, then add seconds.

Find the similar example in classes/Discount.php at the end of createOrderDiscount function.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...