Link Search Menu Expand Document (external link)

Home > @department-of-veterans-affairs/va-forms-system-core > parseDate

parseDate variable

A function to transform a dateString in the form yyyy-mm-dd into a javascript date object. This is necessary because parsing the date string will result in a date one day before the expected value

Signature:

parseDate: (dateString: string) => Date