SyntaxFix
Write A Post
Hire A Developer
Questions
If you are here to just convert Timestamp into DateTime,
Timestamp timestamp = widget.firebaseDocument[timeStampfield]; DateTime date = Timestamp.fromMillisecondsSinceEpoch( timestamp.millisecondsSinceEpoch).toDate();