Skip to content

API Reference


API Reference / fromDateString

Function: fromDateString()

fromDateString(value): Date

Defined in: src/ta/marketCalendar.ts:51

Parses YYYY-MM-DD as UTC midnight, which keeps day arithmetic exact.

Parameters

value

string

Returns

Date

Community project — not affiliated with Dhan. MIT License.