如何确定客户的当地时间? [英] how to determine client's local time ?
问题描述
我刚刚迷失在这里..是否有一个功能来确定当前时间
客户端的计算机时钟?
链接/指针?
迈克
>我只是迷失在这里..是否有一个函数来确定客户端计算机时钟的当前时间?
链接/指针?
>
PHP在服务器上运行,而不是在客户端运行。
Javascript已关闭(tm)。
Gordon L .Burditt
Gordon Burditt写道:I 我刚刚迷失在这里..是否有功能确定客户端计算机时钟的当前时间?
链接/指针?
PHP在服务器上运行,而不是在客户端上运行。
从http中提取的东西很好aders /或来自tcp的东西
包(哎呀!!!)???
迈克
>> >我刚刚迷失在这里..是否有一个函数来确定当前时间>客户端''计算机时钟?
>
>链接/指针?
PHP在服务器上运行,而不是在客户端上运行。>
好的东西要从http标题中提取/或来自tcp
数据包(哎呀!!!)???
你可以'不提取不存在的信息。从客户端发送到服务器的HTTP标头
可能包括
if-modified-since中的时间戳。标题,但它们不是当前的时间戳和
可能很容易就会持续数月。
Javascript仍然关闭(tm)。
为什么需要这些信息?
Gordon L. Burditt
I''m just lost here.. Is there a function to determine current time on
the client''s computer clock ?
Links / Pointers?
Mike
>I''m just lost here.. Is there a function to determine current time onthe client''s computer clock ?
Links / Pointers?
PHP runs on the server, not on the client.
Javascript is Turned Off (tm).
Gordon L. Burditt
Gordon Burditt wrote:I''m just lost here.. Is there a function to determine current time on
the client''s computer clock ?
Links / Pointers?
PHP runs on the server, not on the client.
Well something to extract from http headers / or something from tcp
packets (ouch!!!) ???
Mike
>> >I''m just lost here.. Is there a function to determine current time on>the client''s computer clock ?
>
>Links / Pointers?
PHP runs on the server, not on the client.
Well something to extract from http headers / or something from tcp
packets (ouch!!!) ???
You can''t extract information that isn''t there. HTTP headers sent
from the client to the server might include timestamps in
"if-modified-since" headers but they aren''t CURRENT timestamps and
could easily be months old.
Javascript is still Turned Off(tm).
Why do you need this information?
Gordon L. Burditt
这篇关于如何确定客户的当地时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!