time date

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
weppie
Posts: 2
Joined: Wed Apr 30, 2008 7:19 pm

time date

Post by weppie »

Hello ,

I want to change my date format , en add the time off a new message
..but i cant find the code where the date is generated in the script??
otherwise i would change them to european format.
(php:date — Format a local time/date)

The comment text , these is italic

so where can i this change, i cant find


Thanks :wink:

Fine GuestBook!!
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello weppie,

In Gbook version 1.6 the date is defined the gbook.php file in line 749

Code: Select all

$added=date ("F j, Y");
You can change it to for example

Code: Select all

$added=strftime ("%A %d %B %Y at %H:%M");
Greetings,
Henrie
weppie
Posts: 2
Joined: Wed Apr 30, 2008 7:19 pm

Post by weppie »

Thanks i found............ :wink:
Post Reply