You are given a string date representing a Gregorian calendar date in the format "yyyy-mm-dd".
Convert the year, month, and day into their respective binary representations without leading zeros, and return the resulting string with each part separated by '-'.
Constraints:
date.length
date[4] date[7] '-', and all other characters in date are digits.
The input is generated such that date represents a valid Gregorian calendar date between Jan
You are given a string date representing a Gregorian calendar date in the format "yyyy-mm-dd".
Convert the year, month, and day into their respective binary representations without leading zeros, and return the resulting string with each part separated by '-'.
Constraints:
date.length
date[4] date[7] '-', and all other characters in date are digits.
The input is generated such that date represents a valid Gregorian calendar date between Jan