dvayne 0 Report post Posted November 8, 2007 how to display date and time (gmt+8)? any help would be appreciated. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted November 8, 2007 the php manual might be handy for this.http://docs.php.net/manual/en/function.date.phphttp://docs.php.net/manual/en/function.time.phpThere are many time and date functions available to you in php. Those links should get you started. Share this post Link to post Share on other sites
Amezis 0 Report post Posted November 9, 2007 To display the date and time, follow the links posted by jlhaslip. If the server is located in another timezone, you will need to use date_default_timezone_set() to set another default timezone before you use time() and date(). More information about this function can be found at http://forums.xisto.com/no_longer_exists/ (click here to see a list of all supported timezones). Hope that helps Share this post Link to post Share on other sites
dvayne 0 Report post Posted November 9, 2007 example please.. Share this post Link to post Share on other sites
coolcat50 0 Report post Posted November 10, 2007 Ok, to do this the simple, but not fully accurate way use a code like this. <?php$date=date(D,F,J);echo $date;?> There is a little code. Share this post Link to post Share on other sites
dvayne 0 Report post Posted November 11, 2007 thanks, I know it already Share this post Link to post Share on other sites