MCPcopy
hub / github.com/simstudioai/sim / wallClockNow

Function wallClockNow

apps/sim/lib/core/utils/timezone.ts:105–107  ·  view source on GitHub ↗
(timeZone: string)

Source from the content-addressed store, hash-verified

103
104/** The current wall-clock time in `timeZone` as a naive `yyyy-MM-ddTHH:mm` string. */
105export function wallClockNow(timeZone: string): string {
106 return zonedWallClock(new Date(), timeZone)
107}
108
109/**
110 * A `Date` whose device-local fields (year…minute) equal the wall-clock time of

Callers 3

timezone.test.tsFile · 0.90
nextTopOfHourFunction · 0.90
defaultLaunchFunction · 0.90

Calls 1

zonedWallClockFunction · 0.85

Tested by

no test coverage detected