parseDate Type documentation¶ TypeScript declaration¶ parseDate ¶ constant import { parseDate } from '@siemens/element-ng/datepicker'; Returns: A JS Date in accordance of the three parameters parseDate(input: string, format: string, locale: string): Date | undefined Returns: A JS Date in accordance of the three parameters Parameters • String containing a date or dateTime value (Ex. "05/15/2020" input : string ¶ • Format of the input value (Ex. "M/d/YYYY") format : string ¶ • Locale of the input value locale : string ¶ Except where otherwise noted, content on this site is licensed under MIT License.