Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 18872

This challenge is intended to be solved by using, manipulating, accepting as input, outputting, or calculating calendar dates or clock times.

0 votes

Greet according to the time of day

J, 65 bytes Another port of TFeld's answer. ('Zzz','Good '&,&>;:'morning afternoon evening'){~<.6%~20|3{6!:0'' 3{6!:0'' gets the hour, which is index 3 of the current time vector, from the builti …
Alex Shroyer's user avatar
2 votes

Days in indexed month

J, 19 bytes (31-0 2 0,#:330){~] For fun, here's a J translation of Adam's APL answer (also 12 bytes): 31-1&=+2|7&| Jonah's comment saves another 4 bytes, due to: better use of J's hook: ({...) …
Alex Shroyer's user avatar