師匠の散歩

Perlで遊ぼう

時間関数の動作確認

timelocal関数とlocaltime関数の挙動を調べた結果をHTMLで保存する。サーバー、PCの詳細は匿名とさせていただく。

WinXP / ActivePerl ver 5.8.9

データセット日付
3月1日0時0分0秒
テストした日付
2011年3月30日
$] = PerlVersion
5.008009
`c:/Perl/bin/perl -v`
This is perl, v5.8.9 built for MSWin32-x86-multi-thread (with 13 registered patches, see perl -V for more detail) Copyright 1987-2008, Larry Wall Binary build 829 [294280] provided by ActiveState http://www.ActiveState.com Built Jan 21 2011 08:00:46 Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page.

Index

timelocal関数の挙動

引数timelocallocaltime
-999error-
マイナス値セットで die(停止)
引数timelocallocaltime
09518364002000/3/1
19833724002001/3/1
210149084002002/3/1
310464444002003/3/1
410780668002004/3/1
511096028002005/3/1
611411388002006/3/1
711726748002007/3/1
812042972002008/3/1
912358332002009/3/1
1012673692002010/3/1
1112989052002011/3/1
1213305276002012/3/1
1313620636002013/3/1
1413935996002014/3/1
1514251356002015/3/1
1614567580002016/3/1
1714882940002017/3/1
1815198300002018/3/1
1915513660002019/3/1
2015829884002020/3/1
2116145244002021/3/1
2216460604002022/3/1
2316775964002023/3/1
2417092188002024/3/1
2517407548002025/3/1
2617722908002026/3/1
2718038268002027/3/1
2818354492002028/3/1
2918669852002029/3/1
3018985212002030/3/1
3119300572002031/3/1
3219616796002032/3/1
3319932156002033/3/1
3420247516002034/3/1
3520562876002035/3/1
3620879100002036/3/1
引数timelocallocaltime
37〜61も die (停止)
引数timelocallocaltime
62-2473956001900/1/
63-2158596001900/1/
64-1842372001900/1/
65-1527012001900/1/
66-1211652001900/1/
67-896292001900/1/
68-580068001900/1/
6943388352001900/1/
7050652001970/3/1
71366012001971/3/1
72682236001972/3/1
73997596001973/3/1
741312956001974/3/1
751628316001975/3/1
761944540001976/3/1
772259900001977/3/1
782575260001978/3/1
792890620001979/3/1
803206844001980/3/1
813522204001981/3/1
823837564001982/3/1
834152924001983/3/1
844469148001984/3/1
854784508001985/3/1
865099868001986/3/1
875415228001987/3/1
885731452001988/3/1
896046812001989/3/1
906362172001990/3/1
916677532001991/3/1
926993756001992/3/1
937309116001993/3/1
947624476001994/3/1
957939836001995/3/1
968256060001996/3/1
978571420001997/3/1
988886780001998/3/1
999202140001999/3/1
1009518364002000/3/1
引数timelocallocaltime
1019833724002001/3/1
10210149084002002/3/1
10310464444002003/3/1
10410780668002004/3/1
10511096028002005/3/1
10611411388002006/3/1
10711726748002007/3/1
10812042972002008/3/1
10912358332002009/3/1
11012673692002010/3/1
11112989052002011/3/1
11213305276002012/3/1
11313620636002013/3/1
11413935996002014/3/1
11514251356002015/3/1
11614567580002016/3/1
11714882940002017/3/1
11815198300002018/3/1
11915513660002019/3/1
12015829884002020/3/1
12116145244002021/3/1
12216460604002022/3/1
12316775964002023/3/1
12417092188002024/3/1
12517407548002025/3/1
12617722908002026/3/1
12718038268002027/3/1
12818354492002028/3/1
12918669852002029/3/1
13018985212002030/3/1
13119300572002031/3/1
13219616796002032/3/1
13319932156002033/3/1
13420247516002034/3/1
13520562876002035/3/1
13620879100002036/3/1
137で die (停止)
以降の年は調査せず

localtimeの挙動

年/月/日エポック秒localtime()
-999/3/1-936875268001900/1/
入力がマイナスだと結果は変わらず
年/月/日エポック秒localtime()
0/3/1-621620676001900/1/
100/3/1-590063940001900/1/
200/3/1-558507204001900/1/
300/3/1-526950468001900/1/
400/3/1-495392868001900/1/
500/3/1-463836132001900/1/
600/3/1-432279396001900/1/
700/3/1-400722660001900/1/
800/3/1-369165060001900/1/
900/3/1-337608324001900/1/
1000/3/1-306051588001900/1/
1100/3/1-274494852001900/1/
1200/3/1-242937252001900/1/
1300/3/1-211380516001900/1/
1400/3/1-179823780001900/1/
1500/3/1-148267044001900/1/
1600/3/1-116709444001900/1/
1700/3/1-85152708001900/1/
1800/3/1-53595972001900/1/
1900/3/1-22039236001900/1/
年/月/日エポック秒localtime()
1901/3/1-21723876001900/1/
1902/3/1-21408516001900/1/
1903/3/1-21093156001900/1/
1904/3/1-20776932001900/1/
1905/3/1-20461572001900/1/
1906/3/1-20146212001900/1/
1907/3/1-19830852001900/1/
1908/3/1-19514628001900/1/
1909/3/1-19199268001900/1/
1910/3/1-18883908001900/1/
1911/3/1-18568548001900/1/
1912/3/1-18252324001900/1/
1913/3/1-17936964001900/1/
1914/3/1-17621604001900/1/
1915/3/1-17306244001900/1/
1916/3/1-16990020001900/1/
1917/3/1-16674660001900/1/
1918/3/1-16359300001900/1/
1919/3/1-16043940001900/1/
1920/3/1-15727716001900/1/
1921/3/1-15412356001900/1/
1922/3/1-15096996001900/1/
1923/3/1-14781636001900/1/
1924/3/1-14465412001900/1/
1925/3/1-14150052001900/1/
1926/3/1-13834692001900/1/
1927/3/1-13519332001900/1/
1928/3/1-13203108001900/1/
1929/3/1-12887748001900/1/
1930/3/1-12572388001900/1/
1931/3/1-12257028001900/1/
1932/3/1-11940804001900/1/
1933/3/1-11625444001900/1/
1934/3/1-11310084001900/1/
1935/3/1-10994724001900/1/
1936/3/1-10678500001900/1/
1937/3/1-10363140001900/1/
1938/3/1-10047780001900/1/
1939/3/1-9732420001900/1/
1940/3/1-9416196001900/1/
1941/3/1-9100836001900/1/
1942/3/1-8785476001900/1/
1943/3/1-8470116001900/1/
1944/3/1-8153892001900/1/
1945/3/1-7838532001900/1/
1946/3/1-7523172001900/1/
1947/3/1-7207812001900/1/
1948/3/1-6891588001900/1/
1949/3/1-6576228001900/1/
1950/3/1-6260868001900/1/
1951/3/1-5945508001900/1/
1952/3/1-5629284001900/1/
1953/3/1-5313924001900/1/
1954/3/1-4998564001900/1/
1955/3/1-4683204001900/1/
1956/3/1-4366980001900/1/
1957/3/1-4051620001900/1/
1958/3/1-3736260001900/1/
1959/3/1-3420900001900/1/
1960/3/1-3104676001900/1/
1961/3/1-2789316001900/1/
1962/3/1-2473956001900/1/
1963/3/1-2158596001900/1/
1964/3/1-1842372001900/1/
1965/3/1-1527012001900/1/
1966/3/1-1211652001900/1/
1967/3/1-896292001900/1/
1968/3/1-580068001900/1/
1969/3/1-264708001900/1/
入力がマイナスだと結果は変わらず
1970/3/150652001970/3/1
1971/3/1366012001971/3/1
1972/3/1682236001972/3/1
1973/3/1997596001973/3/1
1974/3/11312956001974/3/1
1975/3/11628316001975/3/1
1976/3/11944540001976/3/1
1977/3/12259900001977/3/1
1978/3/12575260001978/3/1
1979/3/12890620001979/3/1
1980/3/13206844001980/3/1
1981/3/13522204001981/3/1
1982/3/13837564001982/3/1
1983/3/14152924001983/3/1
1984/3/14469148001984/3/1
1985/3/14784508001985/3/1
1986/3/15099868001986/3/1
1987/3/15415228001987/3/1
1988/3/15731452001988/3/1
1989/3/16046812001989/3/1
1990/3/16362172001990/3/1
1991/3/16677532001991/3/1
1992/3/16993756001992/3/1
1993/3/17309116001993/3/1
1994/3/17624476001994/3/1
1995/3/17939836001995/3/1
1996/3/18256060001996/3/1
1997/3/18571420001997/3/1
1998/3/18886780001998/3/1
1999/3/19202140001999/3/1
2000/3/19518364002000/3/1
年/月/日エポック秒localtime()
2001/3/19833724002001/3/1
2002/3/110149084002002/3/1
2003/3/110464444002003/3/1
2004/3/110780668002004/3/1
2005/3/111096028002005/3/1
2006/3/111411388002006/3/1
2007/3/111726748002007/3/1
2008/3/112042972002008/3/1
2009/3/112358332002009/3/1
2010/3/112673692002010/3/1
2011/3/112989052002011/3/1
2012/3/113305276002012/3/1
2013/3/113620636002013/3/1
2014/3/113935996002014/3/1
2015/3/114251356002015/3/1
2016/3/114567580002016/3/1
2017/3/114882940002017/3/1
2018/3/115198300002018/3/1
2019/3/115513660002019/3/1
2020/3/115829884002020/3/1
2021/3/116145244002021/3/1
2022/3/116460604002022/3/1
2023/3/116775964002023/3/1
2024/3/117092188002024/3/1
2025/3/117407548002025/3/1
2026/3/117722908002026/3/1
2027/3/118038268002027/3/1
2028/3/118354492002028/3/1
2029/3/118669852002029/3/1
2030/3/118985212002030/3/1
2031/3/119300572002031/3/1
2032/3/119616796002032/3/1
2033/3/119932156002033/3/1
2034/3/120247516002034/3/1
2035/3/120562876002035/3/1
2036/3/120879100002036/3/1
2037/3/121194460002037/3/1
2038/3/121509820001900/1/
2039/3/121825180001900/1/
2040/3/122141404001900/1/
2041/3/122456764001900/1/
2042/3/122772124001900/1/
2043/3/123087484001900/1/
2044/3/123403708001900/1/
2045/3/123719068001900/1/
2046/3/124034428001900/1/
2047/3/124349788001900/1/
2048/3/124666012001900/1/
2049/3/124981372001900/1/
2050/3/125296732001900/1/
2051/3/125612092001900/1/
2052/3/125928316001900/1/
2053/3/126243676001900/1/
2054/3/126559036001900/1/
2055/3/126874396001900/1/
2056/3/127190620001900/1/
2057/3/127505980001900/1/
2058/3/127821340001900/1/
2059/3/128136700001900/1/
2060/3/128452924001900/1/
2061/3/128768284001900/1/
2062/3/129083644001900/1/
2063/3/129399004001900/1/
2064/3/129715228001900/1/
2065/3/130030588001900/1/
2066/3/130345948001900/1/
2067/3/130661308001900/1/
2068/3/130977532001900/1/
2069/3/131292892001900/1/
2070/3/131608252001900/1/
2071/3/131923612001900/1/
2072/3/132239836001900/1/
2073/3/132555196001900/1/
2074/3/132870556001900/1/
2075/3/133185916001900/1/
2076/3/133502140001900/1/
2077/3/133817500001900/1/
2078/3/134132860001900/1/
2079/3/134448220001900/1/
2080/3/134764444001900/1/
2081/3/135079804001900/1/
2082/3/135395164001900/1/
2083/3/135710524001900/1/
2084/3/136026748001900/1/
2085/3/136342108001900/1/
2086/3/136657468001900/1/
2087/3/136972828001900/1/
2088/3/137289052001900/1/
2089/3/137604412001900/1/
2090/3/137919772001900/1/
2091/3/138235132001900/1/
2092/3/138551356001900/1/
2093/3/138866716001900/1/
2094/3/139182076001900/1/
2095/3/139497436001900/1/
2096/3/139813660001900/1/
2097/3/140129020001900/1/
2098/3/140444380001900/1/
2099/3/140759740001900/1/
2100/3/141075100001900/1/

戻る
2010-2011 grandmaster all rights reserved. 最終更新:2011/4/1