- Posts: 5
- Thank you received: 2
how can i change the date
13 years 5 months ago #1985
by ni3ls
how can i change the date was created by ni3ls
i wanna change the date in like mon,wed, ect in ducht language and the date like d/m/y 24:00
The following user(s) said Thank You: ilyaz, supertester
Please Log in or Create an account to join the conversation.
13 years 5 months ago #1986
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic how can i change the date
Hello niels,
Thanks,
Pete
- Open file "add.php" in notepad.
- Find line 74 in that file which has the following:
Code:$date = date("D m/j/y g:iA"); - Replace "D m/j/y g:iA" with the date code format you wish to have. For a list you can look at this page:
php.net/manual/en/function.date.php - Save the file and close it.
Thanks,
Pete
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
11 years 11 months ago #12461
by MrX1980
Replied by MrX1980 on topic how can i change the date
Hello Pete,
I think it would make sense to move the date settings to the config.php
Thanks
I think it would make sense to move the date settings to the config.php
Thanks
Please Log in or Create an account to join the conversation.
11 years 11 months ago #12462
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic how can i change the date
That's a good suggestion. We will do this for the next release of the guestbook.
Pete
Pete
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
11 years 9 months ago #12730
by ofwegen
Replied by ofwegen on topic how can i change the date
I managed to change the date, thanks, but there is still an hour time difference (it is 'wintertime' in The Netherlands').
Please Log in or Create an account to join the conversation.
11 years 9 months ago #12731
by Pete
DigiOz Webmaster
www.digioz.com
Replied by Pete on topic how can i change the date
I am guessing that's because of daylight savings time. You will have to manually account for that.
DigiOz Webmaster
www.digioz.com
Please Log in or Create an account to join the conversation.
Time to create page: 0.126 seconds