What Is Today's Date?
Time limit2sMemory limit128 MB
Print the current UTC year, month, and day as three lines, using the system date with no input.
- Level
Easy2 of 10
- Topics
- Implementation
- Solved
- No attempts yet
Problem
Mugeun and Inseo, who are set to compete in the 2018 SCAL-MOOKJA, decided to meet and solve problems together to prepare for the contest.
One day they woke up and checked the date, only to find that their clocks showed different dates. Write a program that outputs the date of the current moment under UTC+0 (Coordinated Universal Time), so the two can meet on the correct date.
If the time checked in Seoul is exactly 2:00 PM on September 29, 2018, the time under UTC+0 is exactly 5:00 AM on September 29, 2018.
Fri Sep 29 05:00:00 UTC 2018
Input
This problem has no input.
Output
Print the year, month, and day of the current time under UTC+0 (Coordinated Universal Time), one per line in that order.