Zen Follower
- Join Date:
- Jan 2009
- Posts:
- 126
- Plugin Contributions:
- 0
Cron job to compare time differences
Hello,
I am learning as you go with php and trying to create a cron job which will update orders from one status to another after they have been there for 24 hours.
I am struggling to find a way in php to compare the current time with the timestamp on the database so the job knows it needs to be applied.
Anyone got any ideas?
Thanks