how can i change the date

More
13 years 1 month ago #1985 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.

More
13 years 1 month ago #1986 by Pete
Replied by Pete on topic how can i change the date
Hello niels,
  • 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.

More
11 years 7 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

Please Log in or Create an account to join the conversation.

More
11 years 7 months ago #12462 by Pete
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

DigiOz Webmaster
www.digioz.com

Please Log in or Create an account to join the conversation.

More
11 years 5 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.

More
11 years 5 months ago #12731 by Pete
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.125 seconds
Powered by Kunena Forum