"ISO 8601"的搜尋報告

 

關於ISO 8601呢類問題研究 - 呢個研究方法系咩?


暫時未有相關問題發出 :(

暫時未有相關商業答案 :(

 
 

維基


國際標準化組織的国际标准ISO 8601是日期和时间的表示方法,全称为《数据存储和交换形式·信息交换·日期和时间的表示方法》。目前是第二版ISO8601:2000以替代第一版ISO8601:1988

日期表示法
年为4位数,月为2位数,月中的日为2位数,例如,今日日期(2007年11月28日)可表示为2007-11-28,或20071128。

日历日期表示法
可以将一年内的天数直接表示,平年365天,闰年366天。如2004年5月3日可以表示为2004-1572004157

顺序日期表示法
可以用2位数表示本年内第几个日历星期,再加上一位数表示日历星期内第几天,但日历星期前要加上一个大写字母W,如2004年5月3日可写成2004-W17-32004W173。以1月4日所在的那个星期为当年的第一个星期,如:2005年1月1日是2004-W53-6,2005年1月3日是2005-W01-1。每个日历星期从星期一开始,星期日为第7天。

日历星期和日表示法
小时、分和秒都用2位数表示,对UTC时间最后加一个大写字母Z,其他时区用实际时间加时差表示。如UTC时间下午2点30分5秒表示为14:30:05Z143005Z,当时的北京时间表示为22:30:05+08:00223005+0800,也可以简化成223005+08

日的时间表示法
合并表示时,要在时间前面加一大写字母T,如要表示北京时间2004年5月3日下午5点30分8秒,可以写成2004-05-03T17:30:08+08:0020040503T093008+08

日期和时间的组合表示法
如果要表示某一作为一段时间的时间期间,前面加一大写字母P,但时间段后都要加上相应的代表时间的大写字母。如在一年三个月五天六小时七分三十秒内,可以写成P1Y3M5DT6H7M30S

时间段表示法
前面加上一大写字母R,如要从2004年5月6日北京时间下午1点起重复半年零5天3小时,要重复3次,可以表示为R3/20040506T130000+08/P0Y6M5DT3H0M0S

重复时间表示法

中华人民共和国国家标准GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效采用。
《中華民國國家標準》CNS 7648《資料元及交換格式·資訊交換·日期及時間的表示法》与ISO 8601類似,可用公元年,也可冠以大寫R.O.C.字母用民國紀元。例如,2004年(中華民國九十三年)5月3日可寫作2004-05-03R.O.C.93-05-03
日本工業規格JIS X 0301:2002與ISO 8601:2000對應,但有修改。該標準寫日期時用圓點(.)但非短橫(-),可用公元年,也可對四種日本年號使用字首:

明治(Meiji)可冠以M,自1868.01.01(同M01.01.01明01.01.01)起至1912.07.30(同M45.07.30明45.07.30)止。
大正(Taisho)可冠以T,自1912.07.30(同T01.07.30大01.07.30)起至1926.12.25(同T15.12.25大15.12.25)止。
昭和(Showa)可冠以S,自1926.12.25(同S01.12.25昭01.12.25)起至1989.01.07(同S64.01.07昭64.01.07)止。
平成(Heisei)可冠以H,自1989.01.08(同H01.01.08平01.01.08)起至今。

大家嘅答案

These functions augment the methods of the Date object. Instance Methods Date.toISOString() convert a Date to an ISO8601 local time string, for example:"20090316T232030"Date.toUTCISOString() convert a Date to an ISO8601 UTC time...
Okay people, enough individuality and freedom of choice - It\'s time to conform to standards. This is a command from me, to you, on behalf of common sense. It\'s time to use.ISO 8601in our date usage. What is the date today?...
TheISO 8601standard for representing dates and times defines a (large) number of string formats for serializing dates. One of the more common formats in use (certainly here at Logos) uses the“extended format”, specifies the full date...
For one of our projects I needed to be able to calculate the current weeknumber and corresponding year of a given date... in javascript. Not really a big deal, just calculate the number of weeks between the requested date and the 1st of...
>On Mon, 2009/04/27, Martijn van Exelwrote:>Unrelated: one of the XML attributes that needed>parsing was a ISO8601 style date string, for>which neither NSDate nor NSDateFormatter...
在weefish搜寻“ISO 8601”的其他结果
stationery
stationery
搬屋公司
搬屋公司
computers
computers
迷你貨倉
迷你貨倉
investment
investment
減肥
減肥
 


首頁 - 服務條款 - 私隱政策 - 免責聲明 - 聯繫我們 - 問題商機計算 - 答案高手排行榜