getDate

public String getDate()

Gets the timestamp identifying this bar, in the timezone getTimeZone reports.

The format follows the cadence: intraday bars are stamped yyyy-MM-dd HH:mm:ss, while daily, weekly and monthly bars are stamped yyyy-MM-dd with the last trading day of the span they cover.

Return

the bar's timestamp, as the API formatted it