91 votes
Accepted

How much time is remaining?

Excel, 6 Bytes =B1-A1 Assuming A is in cell A1 and B is in cell B1
Riley's user avatar
  • 11.7k
83 votes

Sleep for 1000 years

C (gcc), 40 36 32 29 26 24 bytes i;f(){--i&&f(sleep(7));} Try it online! -3 thanks to @gastropner. -1 recursive approach thanks to @AZTECCO. ...
ceilingcat's user avatar
  • 7,575
62 votes

Increment The Time

Microsoft Excel, 9 bytes =A1+"0:1" Input is in cell A1. Tested on my Mac (Excel for Mac version 16.53) and online at ...
Dominic van Essen's user avatar
58 votes

Encode the date in Christmas Eve format

SmileBASIC, 73 71 67 bytes ?"Christmas"; @L?" Eve"*(D!=P); P=D DTREAD OUT,M,D IF M/D-.48GOTO@L The program prints "Christmas", then ...
12Me21's user avatar
  • 6,681
44 votes

Sort the months of the year

Jelly, 19 bytes 11ị“bMAanlseovc”iµÞ This is a monadic link that takes a list as argument and sorts it. Try it online! Background Jelly uses modular, 1-based ...
Dennis's user avatar
  • 210k
42 votes

100 Day Countdown

Excel, 10 =NOW()+100 Demonstration
Digital Trauma's user avatar
41 votes

Sleep for 1000 years

Python 3 (Excluding CPython on Windows), 28 bytes import time time.sleep(3e10) Try it online! (Remember to put something in your will so future generations can ...
Noodle9's user avatar
  • 20.2k
40 votes

I'm too cold, turn up the temperature

Minecraft 1.9.0+, 204 162 bytes + 58 36 28 24 20 blocks = 262 240 232 186 182 blytes This solution is golfed down, and it can't be seen whole in one, or even two screenshots. Uses two glitches and ...
user60199's user avatar
  • 833
40 votes

Type the Alphabet - as fast as you can!

HTML (JavaScript (ES6)), 129 126 117 bytes ...
Neil's user avatar
  • 170k
40 votes

Setting the time

HTML on Google Chrome 67 in Chinese (Simplified), 39 bytes <input type=time value=00:00 autofocus> Chrome show different UI component in different ...
tsh's user avatar
  • 34.7k
39 votes

I'm too cold, turn up the temperature

Bash + linux utilities, 19 seq 40 2 72|pv -qlL2 seq generates the numerical output. pv ...
Digital Trauma's user avatar
37 votes

Type the Alphabet - as fast as you can!

6502 machine code (C64 PAL), 189 165 bytes ...
Felix Palmen's user avatar
  • 4,266
36 votes

How many days in a month?

JavaScript (ES6),  48 47 44 43  42 bytes m=>31^'311'[parseInt(m[1]+m[2],34)*3%49%8] Demo ...
Arnauld's user avatar
  • 192k
30 votes

Sleep for 1000 years

bash, 26 24 bytes I think part of the challenge here is to not have a signed 32 bit overflow, so: ping -i86400 -c365243 t.co The idea here is to make 1000 years of ...
David G.'s user avatar
  • 751
29 votes

Implement a Simple Stopwatch

Operation Flashpoint scripting language,  174  171 bytes ...
Steadybox's user avatar
  • 16.5k
29 votes
Accepted

Output each second

MacOS shell, 3 top On the Mac, top's default refresh period is 1 sec. Linux shell, 7 ...
Digital Trauma's user avatar
27 votes

We had a question once which only failed on Sundays

Bash + coreutils, 15 14 bytes `date|grep Su` Try it online!
Dennis's user avatar
  • 210k
27 votes

Who was president of the USA?

PHP, 936 bytes ...
Night2's user avatar
  • 5,957
27 votes
Accepted

Days in indexed month

APL (Dyalog Unicode), 13 12 bytesSBCS Anonymous tacit prefix function. 0-indexed. February is 29. 31-1∘=+2|7∘| Try it online! ...
Adám's user avatar
  • 30.2k
26 votes

Convert YYYYMM to MMMYY

Python 3, 70 bytes from time import* lambda s:strftime("%b%y",strptime(s,"%Y%m")).upper() This uses the built-in strftime and ...
jqkul's user avatar
  • 2,272
26 votes
Accepted

Sleep for 1000 years

MATL, 6 5 bytes 35WY. This waits for 34359738368 seconds, which is a little more than 1089 years and a half. Don't try it online! Explanation ...
Luis Mendo's user avatar
  • 104k
24 votes

Happy Birthday, Finland!

C (Windows), 361 bytes ...
Steadybox's user avatar
  • 16.5k
24 votes

Encode the date in Christmas Eve format

Excel formula, 59 bytes ="Christmas"&REPT(" Eve",DATE(YEAR(NOW()+6),12,25)-TODAY())
Richard Crossley's user avatar
23 votes

Sleep for 1000 years

Ruby, 10 bytes sleep 3e10 Try it online! There are approximately \$3*10^{10}\$ seconds in a thousand years.
79037662's user avatar
  • 2,999
23 votes

How long till Halley's Comet returns?

JavaScript (Node.js), 74 bytes n=>Buffer("BKMMOMOMMLMKMMOMOMNKLKLMKLKIKKJHJKJIEDDE").every(c=>(n-=c)>0)-n Try it online! Commented ...
Arnauld's user avatar
  • 192k
22 votes
Accepted

The symmetry of months

JavaScript (ES6), 55 bytes Saved 6 bytes thanks to @Neil Takes input in currying syntax (year)(month). Returns false for ...
Arnauld's user avatar
  • 192k
21 votes

The Work Day Countdown

05AB1E, 130 128 133 131 124 123 122 121 120 bytes ...
Kevin Cruijssen's user avatar
21 votes

Sleep for 1000 years

6502 Machine Code on an Apple II, 10 9 bytes Code is actually platform-independent, other than it relies on the Apple's clock speed of 1.023 MHz for timing. Code starts at address 0x0000: ...
gone_native's user avatar
  • 1,833
21 votes

What year will it be in n seconds?

Ohm v2, 5 bytes υ!+υy Try it online! Explanation: ...
Cinaski's user avatar
  • 2,258
20 votes
Accepted

Convert YYYYMM to MMMYY

MATL, 18 14 13 bytes 4e!Z{Zc12XOXk Input is provided as a string (enclosed in single quotes). This version only runs in MATL on MATLAB since MATLAB is able to ...
Suever's user avatar
  • 11.1k

Only top scored, non community-wiki answers of a minimum length are eligible