toLocalISOString
Returns ISO time string in appropriate time zone with offset.
toLocalISOString()
Returns ISO time string in appropriate time zone with offset.
Signature
toLocalISOString(): ISODateTimeString<'local'>Return Type
ISODateTimeString<'local'> - ISO string with time zone offset
Notes
- Similar to
toISOString()but preserves time zone offset
Example
playground.ts
Last updated: Wed, May 20, 2026 06:24:17PM (UTC)
