Package: effect
Module: DateTime
Create a named time zone from the system’s local time zone.
Details
This uses the system’s configured time zone, which may vary depending on the runtime environment.
Example (Creating local time zones)
import { DateTime } from "effect"
const localZone = DateTime.zoneMakeLocal()
console.log(DateTime.zoneToString(localZone)) // Output depends on system time zone
Signature
declare const zoneMakeLocal: () => TimeZone.Named
Since v3.6.0