Time Picker (1 Viewer)

Bilal

Registered User.
Local time
Today, 07:41
Joined
Sep 30, 2013
Messages
64
Is there some kind of Time picker function , i can see the date picker however i am using a booking system and have a field named 'time of booking' and i need something that can dump the exact system/online time into the field. Thanks in advance :)
 

bob fitz

AWF VIP
Local time
Today, 07:41
Joined
May 23, 2011
Messages
4,717
Perhaps something like:
[YourCtrlName] = Time()
 

bob fitz

AWF VIP
Local time
Today, 07:41
Joined
May 23, 2011
Messages
4,717
Should have said that the code would need to be in the forms Before Update event.
 

Bilal

Registered User.
Local time
Today, 07:41
Joined
Sep 30, 2013
Messages
64
OMG thanks so so much, i did not know that it would be this simple! :D
 

Thales750

Formerly Jsanders
Local time
Today, 03:41
Joined
Dec 20, 2007
Messages
2,061
I would be more inclined to use the Now() Function.

And then set the format for the date/time field to med or short time.

That way its a unique time, and can be used in time difference calculations.

And I have a question, does anyone know of a time picker for entering time other than right now.



Thanks y'all
 

CJ_London

Super Moderator
Staff member
Local time
Today, 07:41
Joined
Feb 19, 2013
Messages
16,553
does anyone know of a time picker for entering time other than right now.
Depends in degree of accuracy/requirements - for appointments in say 10 or 15min steps, I just use a two column combo box for example. (first column is time value, second column is 'time'). If you need to go down to seconds, that would be rather cumbersome

I also have a slider control (plenty of examples about) the user can slide along a bar representing (say) 24 hours displaying the time as calculated as slider position on bar divided by length of bar.
 

Users who are viewing this thread

Top Bottom