right time

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Unix time to right time (UTC with leap seconds)

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

99999979
99999980
99999981
99999982
99999983
99999984
99999985
99999986
99999987
99999988
99999989
99999990
99999991
99999992
99999993
99999994
99999995
99999996
99999997
99999998
99999999
100000000
100000001
100000002
100000003
100000004
100000005
100000006
100000007
100000008
100000009
100000010
100000011
100000012
100000013
100000014
100000015
100000016
100000017
100000018
100000019
100000020
100000021

Sample output:

1973-03-03 09:46:17
1973-03-03 09:46:18
1973-03-03 09:46:19
1973-03-03 09:46:20
1973-03-03 09:46:21
1973-03-03 09:46:22
1973-03-03 09:46:23
1973-03-03 09:46:24
1973-03-03 09:46:25
1973-03-03 09:46:26
1973-03-03 09:46:27
1973-03-03 09:46:28
1973-03-03 09:46:29
1973-03-03 09:46:30
1973-03-03 09:46:31
1973-03-03 09:46:32
1973-03-03 09:46:33
1973-03-03 09:46:34
1973-03-03 09:46:35
1973-03-03 09:46:36
1973-03-03 09:46:37
1973-03-03 09:46:38
1973-03-03 09:46:39
1973-03-03 09:46:40
1973-03-03 09:46:41
1973-03-03 09:46:42
1973-03-03 09:46:43
1973-03-03 09:46:44
1973-03-03 09:46:45
1973-03-03 09:46:46
1973-03-03 09:46:47
1973-03-03 09:46:48
1973-03-03 09:46:49
1973-03-03 09:46:50
1973-03-03 09:46:51
1973-03-03 09:46:52
1973-03-03 09:46:53
1973-03-03 09:46:54
1973-03-03 09:46:55
1973-03-03 09:46:56
1973-03-03 09:46:57
1973-03-03 09:46:58
1973-03-03 09:46:59

Sample input:_

999999979
999999980
999999981
999999982
999999983
999999984
999999985
999999986
999999987
999999988
999999989
999999990
999999991
999999992
999999993
999999994
999999995
999999996
999999997
999999998
999999999
1000000000
1000000001
1000000002
1000000003
1000000004
1000000005
1000000006
1000000007
1000000008
1000000009
1000000010
1000000011
1000000012
1000000013
1000000014
1000000015
1000000016
1000000017
1000000018
1000000019
1000000020
1000000021

Sample output:

2001-09-09 01:45:57
2001-09-09 01:45:58
2001-09-09 01:45:59
2001-09-09 01:46:00
2001-09-09 01:46:01
2001-09-09 01:46:02
2001-09-09 01:46:03
2001-09-09 01:46:04
2001-09-09 01:46:05
2001-09-09 01:46:06
2001-09-09 01:46:07
2001-09-09 01:46:08
2001-09-09 01:46:09
2001-09-09 01:46:10
2001-09-09 01:46:11
2001-09-09 01:46:12
2001-09-09 01:46:13
2001-09-09 01:46:14
2001-09-09 01:46:15
2001-09-09 01:46:16
2001-09-09 01:46:17
2001-09-09 01:46:18
2001-09-09 01:46:19
2001-09-09 01:46:20
2001-09-09 01:46:21
2001-09-09 01:46:22
2001-09-09 01:46:23
2001-09-09 01:46:24
2001-09-09 01:46:25
2001-09-09 01:46:26
2001-09-09 01:46:27
2001-09-09 01:46:28
2001-09-09 01:46:29
2001-09-09 01:46:30
2001-09-09 01:46:31
2001-09-09 01:46:32
2001-09-09 01:46:33
2001-09-09 01:46:34
2001-09-09 01:46:35
2001-09-09 01:46:36
2001-09-09 01:46:37
2001-09-09 01:46:38
2001-09-09 01:46:39

Sample input:_

0
10000000
20000000
30000000
50000000
70000000
110000000
130000000
170000000
190000000
230000000
290000000
310000000
370000000
410000000
430000000
470000000
530000000
590000000
610000000
670000000
710000000
730000000
790000000
830000000
890000000
970000000
1010000000
1030000000
1070000000
1090000000
1130000000
1270000000
1310000000
1370000000
1390000000
1490000000
1510000000
1570000000
1630000000
1670000000
1730000000
1790000000
1810000000
1910000000
1930000000
1970000000
1990000000
2110000000

Sample output:

1970-01-01 00:00:00
1970-04-26 17:46:40
1970-08-20 11:33:20
1970-12-14 05:20:00
1971-08-02 16:53:20
1972-03-21 04:26:40
1973-06-27 03:33:18
1974-02-13 15:06:37
1975-05-22 14:13:16
1976-01-09 01:46:35
1977-04-16 00:53:14
1979-03-11 11:33:12
1979-10-28 23:06:32
1981-09-22 09:46:30
1982-12-29 08:53:09
1983-08-17 20:26:28
1984-11-22 19:33:08
1986-10-18 06:13:07
1988-09-11 16:53:06
1989-05-01 04:26:26
1991-03-26 15:06:24
1992-07-01 14:13:03
1993-02-18 01:46:23
1995-01-13 12:26:21
1996-04-20 11:33:00
1998-03-15 22:12:59
2000-09-26 20:26:18
2002-01-02 19:32:58
2002-08-22 07:06:18
2003-11-28 06:12:58
2004-07-16 17:46:18
2005-10-22 16:52:58
2010-03-31 01:46:17
2011-07-07 00:52:57
2013-05-31 11:32:57
2014-01-17 23:06:17
2017-03-20 08:52:57
2017-11-06 20:26:17
2019-10-02 07:06:17
2021-08-26 17:46:17
2022-12-02 16:52:57
2024-10-27 03:32:57
2026-09-21 14:12:57
2027-05-11 01:46:17
2030-07-11 11:32:57
2031-02-27 23:06:17
2032-06-04 22:12:57
2033-01-22 09:46:17
2036-11-11 07:06:17

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1eban670.23892007/03/28 12:01:270B / 39B / 24B
2usa680.22792007/03/28 11:54:040B / 46B / 18B
3znz700.29022007/03/28 11:49:480B / 41B / 27B
4shinh780.27132007/03/28 03:05:520B / 50B / 24B
5shinh660.27172007/04/04 10:09:170B / 46B / 16B

Perl _

RankUserSizeTimeDateStatistics
1ySas670.46112007/04/02 19:00:480B / ?B / ?B
2eban680.51152007/04/02 21:20:390B / 42B / 22B

Python _

RankUserSizeTimeDateStatistics
1mskzzzz1120.96662007/06/01 22:55:310B / 74B / 32B

PHP _

RankUserSizeTimeDateStatistics
1beton1730.63632007/04/23 05:51:440B / 86B / 84B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima2660.85972007/09/20 23:12:200B / 165B / 96B

JavaScript _

RankUserSizeTimeDateStatistics
1ETHproductions1760.05862016/04/20 10:29:240B / 104B / 69B
2murky-satyr1880.07312008/06/03 03:34:060B / 110B / 75B

Prolog _

RankUserSizeTimeDateStatistics
1mskzzzz2420.40562007/05/26 21:09:498B / 124B / 105B

Erlang _

RankUserSizeTimeDateStatistics
151b2581.04372007/12/15 04:22:4220B / 119B / 112B

C _

RankUserSizeTimeDateStatistics
151b960.59712007/04/01 03:49:360B / 56B / 39B
2eban960.07692007/04/02 21:33:570B / 55B / 40B
3znz1100.09212007/03/28 01:00:540B / 66B / 43B
451b910.16972008/01/29 04:12:160B / 53B / 37B

D _

RankUserSizeTimeDateStatistics
151b1830.08662007/04/01 04:43:150B / 118B / 59B
251b1600.07512008/01/29 04:16:470B / 102B / 54B

OCaml _

RankUserSizeTimeDateStatistics
1ksk2570.39122007/04/03 22:49:5212B / 160B / 66B
2m.ukai4460.39062007/04/03 19:07:320B / 292B / 129B
3ksk1760.38812007/04/04 01:54:360B / 120B / 44B

Haskell _

RankUserSizeTimeDateStatistics
1ska2520.04202011/05/23 16:31:375B / ?B / ?B

AWK _

RankUserSizeTimeDateStatistics
1nn3220.06572008/08/05 22:53:400B / 167B / 138B

Bash _

RankUserSizeTimeDateStatistics
1eban401.75932007/03/28 12:25:070B / 23B / 11B
2waldner400.88342008/11/14 19:53:450B / 23B / 11B

Postscript _

RankUserSizeTimeDateStatistics
1ySas3060.99992007/04/03 22:36:09133B / 86B / 73B
2yshl(bin)3800.91152007/04/03 12:01:28199B / 102B / 76B
3yshl6860.88102007/04/03 11:48:550B / 527B / 53B
4yshl(bin)2790.73102007/12/15 07:37:23139B / 90B / 47B
5ySas3020.92212007/04/05 22:55:07131B / 86B / 75B
6yshl4910.85442007/12/15 07:37:080B / 335B / 86B
7ySas (not bin)4920.92592007/04/05 22:56:4412B / 335B / 59B
8ySas(not bin)5030.94052007/04/04 00:45:2612B / 345B / 56B

R _

RankUserSizeTimeDateStatistics
1pooq683.74702008/05/31 00:28:280B / 43B / 23B

Befunge _

RankUserSizeTimeDateStatistics
1ySas4400.91202007/04/04 00:36:5814B / 147B / 250B

GolfScript _

RankUserSizeTimeDateStatistics
1flagitious840.34812007/12/16 08:00:490B / 49B / 33B

Vim _

RankUserSizeTimeDateStatistics
1eban570.42292008/01/08 15:08:432B / 32B / 18B

Language Ranking_

RankLangUserSizeScore
1Basheban4010000
2Vimeban577017
3Rubyshinh666060
4PerlySas675970
5Rpooq685882
6GolfScriptflagitious844761
7C51b914395
8Pythonmskzzzz1123571
9D51b1602500
10PHPbeton1732312
11OCamlksk1762272
12JavaScriptETHproductions1762272
13Prologmskzzzz2421652
14Haskellska2521587
15Erlang51b2581550
16Common LISPkozima2661503
17Postscriptyshl(bin)2791433
18AWKnn3221242
19BefungeySas440909

Referer

Note that, they may contain spoilers.

return to the top page