Getting user's time from web revlet?
andre at andregarzia.com
Mon Jan 18 10:07:50 CST 2010
$_SERVER holds server variable and request variables, Date is a request
variable with the timestamp sent by the browser for the given request. I
think it should be on some kind of $_REQUEST array but it is on the
$_SERVER, everything that is not GET or POST variable goes into $_SERVER,
many things from the browser perspective will be there as well.
to get the time on the server we can simply use our date time functions such
as "the internet time" :D
On Mon, Jan 18, 2010 at 1:42 PM, Richard Gaskin
<ambassador at fourthworld.com>wrote:
> Andre wrote:
>> As for getting the clients time using RevServer files check out the
>> $_SERVER["Date"], it will contain a timestamp from the browser
> From the browser perspective? I would have thought that server variables
> would report things from the server perspective, no?
> Richard Gaskin
> Fourth World
> Rev training and consulting: http://www.fourthworld.com
> Webzine for Rev developers: http://www.revjournal.com
> revJournal blog: http://revjournal.com/blog.irv
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
http://www.andregarzia.com All We Do Is Code.
More information about the use-livecode