New answers tagged date
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.
...
- 453
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
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
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 ...
- 116k
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”.
...
- 453
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 ...
- 116k
1
vote
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 ...
- 453
Top 50 recent answers are included
Related Tags
date × 274code-golf × 263
string × 32
kolmogorov-complexity × 17
number × 15
ascii-art × 14
decision-problem × 9
math × 8
arithmetic × 8
conversion × 7
popularity-contest × 5
array × 4
primes × 4
sorting × 4
natural-language × 4
graphical-output × 3
parsing × 3
palindrome × 3
unicode × 3
pi × 3
interactive × 3
code-challenge × 2
sequence × 2
geometry × 2
random × 2