MCPcopy Create free account
hub / github.com/Effect-TS/effect / dateTime

Function dateTime

packages/effect/src/unstable/cluster/Snowflake.ts:184–184  ·  view source on GitHub ↗
(snowflake: Snowflake)

Source from the content-addressed store, hash-verified

182 * @since 4.0.0
183 */
184export const dateTime = (snowflake: Snowflake): DateTime.Utc => DateTime.makeUnsafe(timestamp(snowflake))
185
186/**
187 * Extracts the machine id component from a snowflake id.

Callers

nothing calls this directly

Calls 1

timestampFunction · 0.85

Tested by

no test coverage detected