firebase icon indicating copy to clipboard operation
firebase copied to clipboard

firebase["ServerValue"].TIMESTAMP how do we use this in a new library

Open Maqsoodp opened this issue 1 year ago • 1 comments

firebase["ServerValue"].TIMESTAMP how do we use this in a new library

Maqsoodp avatar Mar 09 '24 01:03 Maqsoodp

Hey @Maqsoodp, not sure if you still need this but you can use it as:

import { ServerValue } from "@nativescript/firebase-database";

const timestamp = ServerValue.timeStamp();

guillemc23 avatar May 09 '24 10:05 guillemc23