stringToDate method: Utility class

Syntax

stringToDate(DateString)

Description

Use this method to convert a date string in the "yyyy-MM-dd" format to a date.

Parameters

Parameter Description

DateString

Specifies the string to be converted to a date.

Returns

A date.