Since i began working on Browser based games, i faced this problem, How can i make a real effective time system?
So i searched here, googled much and finally i found that function that gets the seconds that passed from 1970 i think.
And i store it on a db, then check if the actual time is bigger 48hours than the db one...
But sadly its not very effective.. :S
I need a time system that can every hour do something, without the need to player being logged in!
If you guys know something please tell me

SOLVED
Check this if you want.