extractDateParts

external fun extractDateParts(date: Date): JsAny

Extracts the basic component parts of a date (day, month and year) to the expected format.