PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Dear Server. I don't know why but when I tell you "date('Y-m-d')" you seem to think it's Friday... Please explain your logic in this: Are you thinking in GMT? I'd like you to think more on the lines of Pacific Standard Time. How could I get you to think differently?
Thanks for showing me examples of how to do this on your page about the date() function. Oh, and thanks for the examples and the related function that is used to set the default timezone. Wow PHP Manual, that was easy and fun too.
Thanks for showing me examples of how to do this on your page about the date() function. Oh, and thanks for the examples and the related function that is used to set the default timezone. Wow PHP Manual, that was easy and fun too.
Sincerely,
arborint
Thanks for the response. But I'm not able to use date_timezone_set() nor date_default_timezone_set(), 'cause I'm running php 4.
The server is likely set or located in a timezone where it is the fourteenth. Are you thinking the server should somehow magically know your timezone and display it accordingly?
feyd wrote:The server is likely set or located in a timezone where it is the fourteenth. Are you thinking the server should somehow magically know your timezone and display it accordingly?
No, my original question, I'm sorry I wasn't so clear, was: How can I get my server to display PST?