Time picker

Great that we have two time-related components to our disposal, but I find that this is not enough. If would like to implement a time picker where hours (24 options) and minutes (12 options , 5 minutes blocks) can be picked. Additionally I would like to be able to set a default time value. Giving the admin the option to offer 5 minute blocks to choose from or set the option to define a minute specific value can also be a good feature…

Any other Gliders that have a pressing usecase for this feature?

4 Likes

I’m making a business-directory app that requires tracking opening and end times per day. This would make it much more helpful to have instead of free-text field

Hi @Ramo,
From what I understand about your App, the date time picker should work perfectly.

I dunno what you’re trying to accomplish, but the date picker in FORMS is very detailed and works for me pretty well.

I suppose it would make sense if you want time entry that doesn’t have anything to do with a particular date, such as opening and closing times for a business.

1 Like

I had the same need, and what I did is using a choice component pointing on time values : 00:00, 00:15, 00:30, 00:45, and so on.

It works pretty well, even if for this purpose I “waste” approximately 100 rows (choice source values…)

1 Like

I’d like this request to be revisited. My use case has a form where the user is must input a time.

I’d like the date to be ignored or assumed to be the current date. The Google forms app, which my glide form is based on ignored the date altogether.

There is already a date picker, a date & time picker. I time picker on it’s own be awesome and be more convenient for my users!

Thoughts?

5 Likes

I join the request. Please add a component of Time Picker.

1 Like

This has not become a feature yet, is it?

1 Like

Would still be really useful.

erm, don’t we already have this?

what am I missing?

we need just time! for setting up open hours, daily schedules …etc value should be 0+time so when added to a date it will show date and time, also indicator for next day time… am using AM+ when business closing after midnight … value for that would be 1+ time

i have to create my own time picker.

1 Like

Just curious on people’s use cases for this. A time by itself doesn’t constitute a datetime value. If there was a time-only picker, what would people expect to see for the value stored in the sheet? Would it it just be a value like ‘12:00’ PM or would it be the decimal equivalent like ‘0.5’. The only reason I ask is because as it stands now, ‘12:00’ could only be handled as a text value and you wouldn’t be able to do any date math against it, unless it’s accompanied with a default date (such as epoch 01/01/1970 or today’s date. In the decimal form, like ‘0.5’, you can then use it to perform date math against a date.

Technically you could create a choice list of pre-set times and their underlying decimal equivalent, then add the decimal value to a default date, such as today 0:00 (12:00 am). The only downside is that you would need a pre-set list and would probably be restricted to certain blocks of time, like every 5 or 15 minutes, so a native time-only picker would make sense because you could pick any hour or minute of the day.

I guess in my opinion, for a time picker to be viable, it would either need an accompanying Time Only column type that can store the decimal equivalent of time, while having a formatting option (like the date column does) to show a friendly formatted time…or, it could save into an existing date column, but with a default date, such as epoch 01/01/1970 or Today.

A full date/time format or decimal equivalent would still allow you to perform date math, while a text string of only time (12:00) wouldn’t allow you to do much other than display it in a text component.

You could get a little tricky and create a template column that joins text and time together to get something like ‘Today at 12:00pm’ or ‘Tomorrow at 12:00pm’ and write that text to a date column, which will translate it into a date/time, but it will be a dynamically changing date, and I think that leads to a lot of workarounds that many people wouldn’t understand.
Edit: As I think about it, you could technically write a time only to a date column and it will pick today as a default date, but I still think that while the time will be static, the date might actually still be dynamic and change daily.

I’m just trying to understand how people would expect a time picker to work, how they would expect the value to be stored, and how they would intend to work with the resulting value

5 Likes

Is that Jan 1st, or 1st of Jan? :thinking:

2 Likes

hehe, oh you… :nerd_face:

Clearly Jan 1st. Is there any other way?

2 Likes

12/30/1899 0:00:00 this should be 0 AM (12AM)… and rest is like as normal, am using this for long time and it works good, you add to any current date and you have a correct calculations

2 Likes

It’s true, that picker exists, but it defaults to calendar choice first. If someone knows of a way to set it to default to time that would be great. I have no issue with the date being in the field, don’t really care what date it is either :grinning_face_with_smiling_eyes:

1 Like

Hello @Jeff_Hager

Here is my use case for a Time only field.
I have an event application, with necessarily the date.
And I need several planning information
ex:
Get in: 10:00
Load In: 10:30
rehearsals: 12:00

I am using Text Edit for entering the time as the user can add comments (TBC, 10:30 - 11:00)
This is not ideal, because the out of format fields are not taken into account in the calculations, but it’s not essential !

Then after I do some pretty simple calculations like
Trunc (Date) + (T / 60 * 1/24) to reconstitute a date & time if necessary.

But there are other cases, such as Check-In and Check-Out information for hotels.

2 Likes

When I need a time-only for display purposes, what I do is use a math column to convert a datetime column to time-only. So something like this:

The configuration for the time-only columns is very simple:

I still keep the “original” columns as date/time, because I need them to calculate a duration.

3 Likes

I am “digitising” time as I am working from opening hours which have no date relevance. This is fine, but if someone wants to update the opening hours having the option to restrict the date/time picker to just the time part would be really useful. I am hoping it is a simple tweak that can be added to the option of the date/time component.

/edit While we are talking about time, I have my digitised time ie 10:15 is 10.25. Any idea how to convert it back to time again? I can add it back with a date if that is required (would be useful to have both options I guess)