Converts a Date object into a simple JavaScript object where each field is a left-padded string.
Date
The input date
Converts a
Date
object into a simple JavaScript object where each field is a left-padded string.