Given two arguments, dateA and dateB, that can both be converted to Date instances via toDate(), return a boolean that indicates whether dateA is chronologically the same or before than dateB.
dateA
dateB
toDate()
Given two arguments,
dateA
anddateB
, that can both be converted to Date instances viatoDate()
, return a boolean that indicates whetherdateA
is chronologically the same or before thandateB
.