I need to add current date to firebase Realtime database in react native
STATE OF CURRENT DATE const [date, setDate] = React.useState(new Date()) console.log('date', date); DATE CAN'T PUSHED TO FIREBASE DATABASE AND HOW TO PUSH DATE IN REALTIME DATABASE. function addNewPerson() { push(ref(db, '/addperson'), { // addperson: value, // value, 'Name': name, 'Room_no':…