|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
Changing the Date/Time
When I post a new story, it says that I posted it on an incorrect date.
(etc, if I post it on Saturday, it says I posted it on a Sunday)... Anyone know how to change this? |
|
#2
|
|||
|
|||
|
RE: Changing the Date/Time
I would assume this is a time zone issue meaning that you are in one time zone and your server is in a time zone that is ahead of you...or the time on the server is incorrect. You would need to be more specific as to how and what you use to post your stories but the solution is to modify the script that inserts your stories into your db (or file if you are using a file based system) so that it adjusts the date and time that the story is posted before recording it. for example
the following script would produce a date and time that is 1 hour behind the time your server is set to For more info on the date() or time() functions, consult the PHP manual... Hope that makes sense.. |
|
#3
|
|||
|
|||
|
RE: Changing the Date/Time
This is pertaining to PHPnuke. I kind of think there is a way to set the time zone in the configuration/preferences section, however I can't seem to find it.
Any idea where I could go to get some help with this? Thanks for all your help, William |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Changing the Date/Time |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|