silly me...

Met00 <[email protected]>
Newsgroups gmane.comp.web.oscommerce.devel
Message-ID <903c488596d30eb7bd0e4f18f9e15f6b@osCommerce-Forums>
This message was sent from: Development
http://forums.oscommerce.com/viewtopic.php?p=179724#179724
----------------------------------------------------------------

Two items... The first, can it be kluged and the second, can it be changed in core...

Then, would it be possible to overwrite the function (ie: define a function now() within php that would use the system time rather than the database time).

How and why this would be useful...

1) you can set the system time using the setenv(TZ) to be anyplace
2) in a shared server environment you can not mess with the database timezone

Any number of people have their servers (shared) located in places other than where they are located and don't have the ability to change the TZ within the database calls, but can change the TZ using the environment variable. This would increase the functionality for those who need it, but the change would have to be made in the core (ie: using a time function call rather than the database call).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.