boris wrote
got some very verbose errors cause i'd failed to set the timezone, when i used date(), but thats to be expected.
You're welcome. The timezone warning has to be ignored since any script that uses these functions should at some point do the right initialization.