New answers tagged

0 votes

Output the Current Time

HP‑41C series, 4 Bytes This requires an HP‑41CX or an HP‑41C/CV with a time module plugged in. ...
1 vote

Return the clock emoji closest to the current time when run

C (gcc) with -m32, 104 100 98 bytes -6 thanks to ceilingcat ...
  • 4,577
1 vote

Pi Day, Pi Minute, or Pi Second?

Pascal (FPC), 263 bytes ...
  • 2,118
1 vote

Pi Day, Pi Minute, or Pi Second?

Japt, 48 47 45 bytes :\ I can definitely do better than this! Outputs undefined if it's not a Pi date/time. Second line include a trailing space. ...
  • 39.6k
0 votes

Pi Day, Pi Minute, or Pi Second?

Zsh*, 93 88 83 (98-15) bytes case `date` in *Mar\ 14*)t=Day;;*\ 03:14*)t=Minute;;*03:14\ *)t=Second;esac <<<Pi\ ${t?No Pi Time} Try it online! (98-15 ...
  • 2,118
1 vote

Pi Day, Pi Minute, or Pi Second?

Go, 211 - 15 = 196 bytes ...
  • 6,222
3 votes

Pi Day, Pi Minute, or Pi Second?

05AB1e, score: 31 (46 bytes - 15 bonus) žfžeža12%žbDžc)2ôJƵÖk”€º‚Ž™Ù…Þ”#…Pi ìć…No ìªsè Try it online or try it online with emulated datetime. Adding the ...
1 vote

Pi Day, Pi Minute, or Pi Second?

Pascal, 226 Bytes See also FreePascal. This program requires a processor complying to ISO standard 10206 “Extended Pascal”. ...
1 vote

Return the clock emoji closest to the current time when run

05AB1E, 30 bytes ža60*žb+45-30÷24%2‰`12*+Žü¤·+ç Port of @jimmy23013's CJam answer, so make sure to upvote him as well! Try it online or verify some manual test ...
1 vote

Return the clock emoji closest to the current time when run

Go, 266 bytes, function ...
  • 6,222
0 votes

Return the clock emoji closest to the current time when run

Pascal, 134 characters This program requires a processor supporting the time-related features defined by ISO standard 10206 “Extended Pascal”. Furthermore the ...

Top 50 recent answers are included