Skip to content

DateComponent.valueFromString method

DateComponent › valueFromString

Converts a string to a date.

Signature:

valueFromString(str: string): Date

Parameters:

ParameterTypeDescription
strstringThe string to convert.

Returns: DateThe date.