You want a variable to have a value for 6 hours?
Why?
That won't do you any good unless you've got this one script running for that long (like a shell script, or daemon).
If you want to change the configuration of a program globally, try setting a flag in a database with a timestamp for it to revert. Everytime you access the flag in the DB, check the timestamp. If time()==timestamp, then revert the flag.
|