Page 1 of 1
how to add :date + time !
Posted: Tue Oct 19, 2010 8:45 pm
by Martien
Script URL:
Version of script: 1.7
Hosting company: Hosting2go.nl
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: This forum ,google
Write your message below:
Hi , is it possible to show the date +time when a message has been posted ?
Kind regards Martien
Re: how to add :date + time !
Posted: Wed Oct 20, 2010 4:57 pm
by Henrie
Hello Martien,
In the following post, you can find instructions on how to add additional date and time functions.
viewtopic.php?p=12709#p12709
But because maybe it is to much for what you want to do, here in short to only add time:
In the file
gbook.php find lines 878-882 (in version 1.7):
Code: Select all
$added = $lang['m'.$m] . date(" j, Y") . " at " . date("G:i");
}
else
{
$added = date("F j, Y");
and change it something like:
Code: Select all
$added = $lang['m'.$m] . date(" j, Y") . " at " . date("G:i");
}
else
{
$added = date("F j, Y"). " at " . date("G:i");
Greetings,
Henrie
Re: how to add :date + time !
Posted: Thu Oct 21, 2010 6:26 pm
by Martien
Henry youre the best jihaAAAAAA thanks i did it !
Now the date and time is shown ! many many thanks
Cheers mate ( ik drink een biertje op jou

)
Re: how to add :date + time !
Posted: Mon Oct 03, 2011 10:20 am
by cAdams
what code determines if the submitted post was am or pm?
Re: how to add :date + time !
Posted: Mon Oct 03, 2011 4:39 pm
by Henrie
cAdams wrote:what code determines if the submitted post was am or pm?
look here for info about date function:
http://www.php.net/manual/en/function.date.php
Greetings,
Henrie
_________________________________________________________________________________________
.
If you would like to thank me for my help, stop asking questions ;-).
To thank Klemen (PHPJunkyard author),
buy Klemen a beer!
Re: how to add :date + time !
Posted: Tue Oct 04, 2011 4:16 am
by cAdams
EXACTLY what i need
thanx Henrie
