MCPcopy
hub / github.com/YILS-LIN/short-video-factory / getUnixTimestamp

Method getUnixTimestamp

electron/lib/edge-tts.ts:256–258  ·  view source on GitHub ↗

* Gets the current Unix timestamp with skew correction.

()

Source from the content-addressed store, hash-verified

254 * Gets the current Unix timestamp with skew correction.
255 */
256 static getUnixTimestamp(): number {
257 return Date.now() / 1000 + DRM.clockSkewSeconds
258 }
259
260 /**
261 * Parses an RFC 2616 date string into a Unix timestamp.

Callers 2

generateSecMsGecMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected