In my program I am trying to store all timestamps as a GMT timestamp. How would I ensure I get that? time() gives me the local timestamp. I want the UNIX timestamp, not the actual time information. thanks.
See http://www.php.net/gmmktime
There're also gmdate() and gmstrftime() functions.