IDateInput: string | Date | DateTime

Which types are accepted as input type for formatting functions.