English 中文(简体)
日期对象是否使用过非希腊日历?
原标题:Does the Date object ever use a non-Gregorian calendar?
最佳回答
问题回答

我刚刚通过设置计算机(Mac OS X 10.7.4)来使用希伯来日历来测试,而日期对象的行为在Safari、Firefox或Chrome中并没有受到影响。看起来它总是使用Gregorian日历。

Re: Javascript 中的日期对象是否使用过非希腊日历?

否。我看不出有任何备份来证明 Javascript Date 对象可以使用 Julian 日历系统的说法。

然而,您可以将 Javascript日期对象( 格雷戈里安日期) 转换为 < a href="http://javascript.about.com/library/bljulday.htm" rel= "no follow" > Julian Day 或 < a href=" http://javascript.about.com/library/bljuldate.htm" rel="no follow" > Julian Date

< 强力 > 朱利安日 < /强 >

朱利安日用于供天文学界科学使用的时间测量Julian date(JD)系统,显示自公元前1月1日(公元前4713年)格林尼治中午(公元前4713年)以来的天数和一天的分数。

<强力 > 朱利安日期 < /强 >

朱利安日期一词广泛用于指年中的一天(普通日期),尽管这一用法并不严格符合一些国际组织规定的标准。

* 以上引文的资料来源是维基百科文章,Julian_day

请注意, 两种格式都不包含自“ 朱利安日期” 和“ 朱利安日” 之后的几个月, 在格雷戈里亚日历中, 某一天的表示词是“ 朱利安日 ” 。 您可以通过朱利安日定义使用格雷戈里安日期来显示这一点 : “ 4713 公元前格林威治中午 ” 。





相关问题
Mysql compaire two dates from datetime?

I was try to measure what is faster and what should be the best way to compare two dates, from datetime record in MySql db. There are several approaches how to grab a date from date time, but I was ...

iPhone Date Picker rolls over to 2010 on December 27th?

So I implemented a UIDatepicker in one of my applications for scheduling and autodialing teleconferences... everything is pretty much ready to go except, while testing I noticed that when the date ...

Convert date Python

I have MMDDYY dates, i.e. today is 111609 How do I convert this to 11/16/2009, in Python?

specifying date format when using $form->inputs() in CakePHP

I am wondering if there is a way to specify the date format in the forms created using CakePHP s $form->inputs(); Please note that this is not the individual $form->input() but instead $form->inputs() ...

NSDateFormat, super simple! Where am I screwing up?

Ok, this is really simple, maybe I m a getting a bit burnt out, but seems like it should work, Query XML feed, put out date string, format, display in a cell. The issue is I m a getting a NULL ...

sqlite writing a date into an email

I am exporting a date value from sqlite and placing it into an email. The date appears like this 279498721.322872 I am using Objective C in an Iphone App. Does anyone know how to make this export ...

热门标签