Questions tagged [date]
This challenge is intended to be solved by using, manipulating, accepting as input, outputting, or calculating calendar dates or clock times.
7
questions
16
votes
7
answers
4k
views
How many people are awake?
The following data contains the (approximate) population of each UTC timezone in the world (source):
...
12
votes
10
answers
1k
views
Format Datetime in 30-Hour Clock Time
Input a datetime, format the datetime in YYYY-MM-DD HH:mm:ss format using 30-hour clock time.
The 30-hour clock time works as:
After 6 a.m., it is same as 24-hour ...
7
votes
6
answers
386
views
Output 5-line calendar
Given year, month and optionally weekday of 1st, output the calendar of the month. The first week should remain nonempty.
For empty cell, fill it with the date where it's supposed to be, in last or ...
11
votes
3
answers
616
views
Write the date in abbreviated Latin
Inspired by How do you write dates in Latin?
Challenge
Given a month-and-day date, output that date in abbreviated Latin, as explained below.
Input
Input is flexible, following conventions from other ...
15
votes
22
answers
2k
views
Decode the date in Christmas Eve format
This is the inverse of "Encode the date in Christmas Eve format."
Write a program that takes as input the string Christmas, possibly followed by ...
18
votes
21
answers
2k
views
Last Week Day Of The Month
Introduction
This challenge was inspired by a seemingly simple task requested at work that couldn't easily be done in Microsoft Teams. At least not from what we could find!
Task
Your task, if you ...
11
votes
6
answers
1k
views
Spell date in Japanese
Objective
Given a date, spell it out in Romanized Japanese.
I/O Format
The input format is flexible. The output format is <month spelling> <day spelling>...