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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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