Znacznik czasu Firebase to TextView
documentSnapshot.getTimestamp("validity").toDate();
Winnie Kimani
documentSnapshot.getTimestamp("validity").toDate();