toDateString
Returns a string representation of the date portion of the date.
toDateString()
Returns a string representation of the date portion of the date.
Signature
toDateString(): stringReturn Type
string - Date string
Notes
- Returns localized string representation.
- Includes timezone information when an instance created with
timeZonemethod.
Note
It is different than native Date.prototype.toDateString().
Example
playground.ts
Last updated: Fri, Jun 19, 2026 06:06:59PM (UTC)
