help !

From: mindwaste (wastedfire1_at_yahoo-dot-com.no-spam.invalid)
Date: 04/30/04


Date: Fri, 30 Apr 2004 00:45:12 -0500

Hey all,
in one of my scripts i am displaying time like this "date =
date( "g:i:s a");"... but the problem is that its
displaying the time on my webhosting server... i want it to show my
local time as the script is on a webpage which people from Houston
visit... which is GMT -06:00 .... can anyone please help me make php
display my local Houston time instead of the serverstime ???

----------------------------------------
The post originated from PHP Freaks:
----------------------------------------
http://www.phpfreaks.com
http://www.phpfreaks.com/forums



Relevant Pages

  • Re: help !
    ... I was asking similar but in my case I am in London UK and gmdate is an ... > displaying the time on my webhosting server... ... > display my local Houston time instead of the serverstime ??? ...
    (alt.php)
  • Re: Daylight Savings Time bug? Experts requested
    ... If it is just "displaying" the correct ... reading incorrectly, it is reading an incorrect time caused by the server. ...
    (microsoft.public.windows.server.general)
  • Re: How to open a text file on the client ?
    ... But displaying the log in a new HTML page could be an elegant solution. ... The scripts deals with the network creating and copying files on a network ... It is possible to send a file to the browser but you can't ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: AD, Win 2000, and new 2007 Daylight savings time
    ... You need to do it on every machine that you locally want displaying the proper time. ... An Exchange server that runs server side scripts could have an issue though if the scripts work in localtime instead of UTC. ... Will we need to patch our clients are will the time be ok Since we are using authoritative time server manage the time. ...
    (microsoft.public.win2000.active_directory)
  • Re: tcl cgi script
    ...    My goal is to setup a web server which will display home page. ... I click on a button in the homepage, server should execute some script ... But it is displaying like above. ... Don't use Tcl with Apache. ...
    (comp.lang.tcl)