parse(dateStr, format) ⇒ Date | boolean Parse a date string into an object, changes - into / Kind: global function Param Type Description dateStr string Date string format string Date parse format