Skip to content

DateTimeComponent.valueFromString method

DateTimeComponent › valueFromString

Converts a string to a date.

Signature:

valueFromString(str: string): Date

Parameters:

ParameterTypeDescription
strstringThe string to convert.

Returns: DateThe date.