📅  最后修改于: 2022-03-11 14:59:41.510000             🧑  作者: Mango
You can use ServerValue.TIMESTAMP provided by the Firebase database server and
store it in a new timestamp field in your database along with the url and
description fields for each image. The Firebase servers write the current
timestamp in UTC milliseconds in place of this value when performing writes.
This value is a 13-digit numeric value.
mDatabaseRef.child(uploadID).child("timestamp").setValue(ServerValue.TIMESTAMP);