Jump to content
  • 0
Sign in to follow this  
Kuya Jeo

Timer Problem

Question

4 answers to this question

Recommended Posts

  • 0
22 minutes ago, Zhao Chow said:

i use DATE_ADD(NOW(), INTERVAL 1 DAY)

can you explain how it work? we just need to change the day? ex. DATE_ADD(NOW(), INTERVAL 1 DAY) for 1 day and DATE_ADD(NOW(), INTERVAL 3DAY) for 3 days?

Share this post


Link to post
Share on other sites
  • 0
7 hours ago, Luffy said:

can you explain how it work? we just need to change the day? ex. DATE_ADD(NOW(), INTERVAL 1 DAY) for 1 day and DATE_ADD(NOW(), INTERVAL 3DAY) for 3 days?

I rather used MYSQL Lines because im putting it on the database

 

If you want to add +3 Days it should be like this DATE_ADD(NOW(), INTERVAL 3 DAY)

Share this post


Link to post
Share on other sites
  • 0
52 minutes ago, Zhao Chow said:

I rather used MYSQL Lines because im putting it on the database

 

If you want to add +3 Days it should be like this DATE_ADD(NOW(), INTERVAL 3 DAY)

oh i get it, thanks. i cant seem to make it work. setting up an array for 1 , 3 , 7 days whenever the item call func a 3 day it will activate the 3 days.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.