Is midnight defined as (now()%14400==0)?
Thanks,
--Colin
Calculating midnight
- cosmith71
- Posts: 1432
- Joined: Fri Mar 29, 2013 3:51 pm
- Location: Oklahoma City
- cosmith71
- Posts: 1432
- Joined: Fri Mar 29, 2013 3:51 pm
- Location: Oklahoma City
Re: Calculating midnight
Actually, I think it's
now()%86400
or now()%SECS_PER_DAY
14400 would be every 4 hours, right?
now()%86400
or now()%SECS_PER_DAY
14400 would be every 4 hours, right?
- lnevo
- Posts: 5422
- Joined: Fri Jul 20, 2012 9:42 am