Go Back   Cyber Tech Help Support Forums > Software > Web Development & Graphic Design

Notices

Web Development & Graphic Design Problem Solving for Graphic Design, PHP, ASP, Perl, MySQL, SQL, XML, HTML issues

Reply
 
Topic Tools
  #1  
Old October 29th, 2006, 06:45 PM
karlosio's Avatar
karlosio karlosio is offline
Senior Member
 
Join Date: Jul 2006
O/S: Windows XP Pro
Location: Scottish Highlands
Age: 42
Posts: 101
Current UK time on home page?

Hi,

I'm looking to put the current date and time in the UK on my websites home page. However the server is hosted in the US and is 7 hours behind my local time. How could I do this PHP?

Please help
Reply With Quote
  #2  
Old October 29th, 2006, 07:00 PM
degsy's Avatar
degsy degsy is offline
Cyber Tech Help Moderator
 
Join Date: Jul 2001
Location: North-East, UK
Posts: 22,475
There are many ways.
You could use your server time - 7 hours. Very flexible that way.

http://uk.php.net/date

or you can grab the current GMT time
http://uk.php.net/manual/en/function.gmdate.php
Reply With Quote
Reply

Bookmarks

Topic Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Topic Topic Starter Forum Replies Last Post
Home Page Brian M Internet / Browsers 1 May 13th, 2010 04:46 PM
Adobe CS2 - Set to print CURRENT page by default? hypnotizeminds Applications 0 March 16th, 2010 03:53 PM
pop ups and home page changes MikeD Malware Removal 6 April 24th, 2005 04:57 PM
http://my-find.com/index.htm--y is this my home page all the time?? vodka Malware Removal 6 April 24th, 2004 07:27 PM
How to get current time displayed Joeuk Web Development & Graphic Design 8 April 5th, 2003 02:52 PM


All times are GMT +1. The time now is 06:00 AM.