In this challenge you will need to determine whether it's Pi Day, Pi Minute, or Pi Second.
Because Pi is irrational, it wants your code to be as short as possible.
No input is provided, your program should use the system time. I've just added it for clarity
March 14, 2016 0:00:00 Pi Day December 25, 2015 3:14:45 Pi Minute December 29, 2015 0:03:14 Pi Second January 1, 2016 0:00:00 <No Output>
What is Pi Day / Minute / Second
Pi Dayis when the month is March, and the date is the 14th
Pi Minuteis when the hour is 3, and the minute is 14
Pi Secondis when the minute is 3, and the second is 14
Pi Dayshould be preferred instead of
Pi Second, and
Pi Minuteshould be preferred instead of
- For this challenge you should use 12-hour time (15:14 == 3:14). The date/time used to determine the
Pi Day/Minute/Secondshould be based on system time.
Scoring & Bonus
-15 byte Bonus: If you print
"No Pi Time" when it's not Pi time.