抱歉这个关于约会的琐碎问题 [英] sorry for this trivial question about dates

查看:62
本文介绍了抱歉这个关于约会的琐碎问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的网页上放置日期和时间,并确保它跟踪

BST / GMT的变化。

任何人都可以帮助我,我有在我的历史文件中回来了很多

而没有找到任何东西。

抱歉新手微不足道的问题

-

David Lindsay

反垃圾邮件有效使用回复地址

I want to put date and time on my web page, and to be sure it tracks the
BST/ GMT changes.
Can anyone help me, I have gone back in my historic file for quite a
while and not found anything.
Sorry about the newbie trivial question
--
David Lindsay
anti spam in force use reply to address

推荐答案

David Lindsay写于17 sep 2003年在comp.lang.javascript
David Lindsay wrote on 17 sep 2003 in comp.lang.javascript:
我想把日期和时间放在我的网页上,并确保它跟踪
BST / GMT更改。
任何人都可以帮助我,我已经回到历史文件中了很长时间而没有找到任何东西。
抱歉新手微不足道的问题
I want to put date and time on my web page, and to be sure it tracks the
BST/ GMT changes.
Can anyone help me, I have gone back in my historic file for quite a
while and not found anything.
Sorry about the newbie trivial question




BST / GMT变化是什么意思?


时间一直在变化。 ;-)


您想要GMT / UTC或西欧时间吗?


您想要客户时间还是服务器时间?


-

Evertjan。

荷兰。

(请更改x'我的电子邮件地址中的点数。



What do you mean by BST/ GMT changes ?

Time changes all the time. ;-)

Do you want the time in GMT/UTC or in west european time?

Do you want client time or server time ?

--
Evertjan.
The Netherlands.
(Please change the x''es to dots in my emailaddress)


JRS:在文章< Xk ************** @ sdresearch.com>中,见于

news:comp.lang.javascript,David Lindsay< sp ** @ use.reply-to.co.uk>

于9月17日星期三发布2003 21:35:58: -
JRS: In article <Xk**************@sdresearch.com>, seen in
news:comp.lang.javascript, David Lindsay <sp**@use.reply-to.co.uk>
posted at Wed, 17 Sep 2003 21:35:58 :-
我想把日期和时间放在我的网页上,并确保它跟踪BST / GMT的变化。
任何人都可以帮助我,我已经回到我的历史文件中了很多
而没有找到任何东西。
抱歉新手微不足道的问题
I want to put date and time on my web page, and to be sure it tracks the
BST/ GMT changes.
Can anyone help me, I have gone back in my historic file for quite a
while and not found anything.
Sorry about the newbie trivial question




尝试阅读关于日期和时间主题的新闻组常见问题。


我认为你的意思是当前的日期和时间。


如果你想要确定永远是正确的,你必须自己

包括当前的欧盟变更规则,并在必要时(不太可能)更新
。至少有一个交付版本的Windows有错误的

规则。


输入当前的本地日期&时间是毫无意义的运动;大多数操作系统

已经显示,大多数用户都知道日期,可以看到一个合适的时钟或

a手表。


有用于向外国人展示当前的英国时间; for

示例,以帮助广播电台2位于整个频道的听众。


在欧盟使用时,您只需将正确的固定偏移应用于

当地时间;但为此你需要他们的位置,这可以是从新的日期(0).getTimezoneOffset()中充分推断出来的。


否则,你需要实现英国规则,如js-date5.htm#UKnow

功能BritNow(使用EUch)。请注意,必须显示生成的对象

的UTC; UTCDstr在include3.htm中,在js-nclds.htm中可见

如果您只对计算机使用英国时间的读者感兴趣,并且

可以忽略可能的OS错误,直接显示日期对象,但

不使用toLocaleString(在我的浏览器中它是错误的)。最好提供一个

显示例程,例如ISOlocalDTstr(/ loc cit /)。


当然,你应该指出对正确性的依赖性

查看计算机的时间调整。


-

?约翰斯托克顿,英国萨里。 ?@merlyn.demon.co.uk Turnpike v4.00 MIME。 ?

Web< URL:http://www.merlyn.demon.co.uk/> - w。常见问题主题,链接,首字母缩略词

PAS EXE等:< URL:http://www.merlyn.demon.co.uk/programs/> - 见00index.htm

日期 - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm等



Try reading the newsgroup FAQ on the subject of dates and times.

I assume that you mean the current date and time.

If you want to be SURE of always being correct, you must yourself
include the current EU rules for the change, and update whenever
necessary (unlikely). At least one delivered version of Windows has the
rules for the UK wrong.

Putting the current local date & time is a pointless exercise; most OSs
already show it, most users know the date and can see a proper clock or
a watch.

There is a use for showing the current British time to foreigners; for
example to help Radio 2 listeners sited across the Channel.

For use in the EU, you only need to apply the correct fixed offset to
their local time; but for that you need their location, which can be
adequately deduced from new Date(0).getTimezoneOffset().

Otherwise, you need to implement the UK Rules, as in js-date5.htm#UKnow
function BritNow (uses EUch). Note that the UTC of the resulting Object
must be displayed; UTCDstr is in include3.htm, visible in js-nclds.htm

If you are only interested in readers whose computer uses UK time, and
can disregard possible OS errors, display the date object directly, but
do not use toLocaleString (it is wrong in my browser). Best to supply a
display routine such as ISOlocalDTstr (/loc cit/).

You should, of course, point out the dependence on the correctness of
the viewing computer''s time adjustment.

--
? John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 MIME. ?
Web <URL:http://www.merlyn.demon.co.uk/> - w. FAQish topics, links, acronyms
PAS EXE etc : <URL:http://www.merlyn.demon.co.uk/programs/> - see 00index.htm
Dates - miscdate.htm moredate.htm js-dates.htm pas-time.htm critdate.htm etc.


在消息< Xn ******************** @ 194.109.133.29> ;, Evertjan。

< ex **** **********@interxnl.net>写道
In message <Xn********************@194.109.133.29>, Evertjan.
<ex**************@interxnl.net> writes
David Lindsay于2003年9月17日在comp.lang.javascript中写道
David Lindsay wrote on 17 sep 2003 in comp.lang.javascript:
我想把日期和时间放在我的网页,并确保它跟踪
BST / GMT的变化。
任何人都可以帮助我,我已经回到历史文件中了很长时间而没有找到任何东西。
抱歉新手微不足道的问题
你对BST / GMT的变化是什么意思?
I want to put date and time on my web page, and to be sure it tracks the
BST/ GMT changes.
Can anyone help me, I have gone back in my historic file for quite a
while and not found anything.
Sorry about the newbie trivial question
What do you mean by BST/ GMT changes ?



我们从格林威治标准时间改为英国夏季时间,每年又回来一次<你想要GMT / UTC或西欧时间的时间吗?


英国的实际时间,如同在服务器上一样。

您想要客户时间还是服务器时间?


we change from GMT to British summer Time and back again every year
Do you want the time in GMT/UTC or in west european time?
The actual time in the United Kingdom, as on the server.
Do you want client time or server time ?



TIA

-

David Lindsay

反垃圾邮件有效使用回复地址


TIA
--
David Lindsay
anti spam in force use reply to address


这篇关于抱歉这个关于约会的琐碎问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆