I need a if statement that checks to see if a datetime value is >= 24 hours ago.
Here's what I need it for: if a user clicks a button the datetime would be updated in the database for that user. Only 24 hours after may that same user click that button again.
Any suggestions?
Here's what I need it for: if a user clicks a button the datetime would be updated in the database for that user. Only 24 hours after may that same user click that button again.
Any suggestions?
Comment