How to Store Only Time from a Date-Time Picker?

Widgets & Design

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?

What have you tried so far?

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.

Did you check FlutterFlow's Documentation for this topic?
No
2
7 replies