I am collecting opening and closing times from users using a Date-Time Picker, but it also includes the date. I only need the time (HH:MM AM/PM) for my Firestore collection.
How can I extract and store only the time while ignoring the date?
I am collecting opening and closing times from users using a Date-Time Picker, but it also includes the date. I only need the time (HH:MM AM/PM) for my Firestore collection.
How can I extract and store only the time while ignoring the date?
Tried to play around time picker but couldn't suceed. The date difference in img is because i changed the default opentime today and default closetime was set on 3rd feb.