| about | help | code help+videos | done | prefs |
Given a String in the format "mm/dd/yyyy" where mm represents the two digit month, dd represents the two digit day of the month, and yyyy represents the four digit year, return a String in the format yy-mm-dd where yy is the last two digits of the year, mm is the two digit month, and dd is the two digit day of the month. yearMonthDay("12/03/1970") → "70-12-03" yearMonthDay("11/10/2017") → "17-11-10" yearMonthDay("11/23/2017") → "17-11-23" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy