MCPcopy Create free account
hub / github.com/NativeScript/firebase / fromMillis

Method fromMillis

packages/firebase-firestore/index.ios.ts:1087–1091  ·  view source on GitHub ↗
(milliseconds: number)

Source from the content-addressed store, hash-verified

1085 }
1086
1087 static fromMillis(milliseconds: number) {
1088 const ts = new Timestamp(0, 0, true);
1089 ts._native = FIRTimestamp.timestampWithSecondsNanoseconds(milliseconds / 1000, 0);
1090 return ts;
1091 }
1092
1093 static now() {
1094 const ts = new Timestamp(0, 0, true);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected