Jump to content

Time input


panchristo
 Share

This topic is 4373 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi all!

I'm trying to make a more firendly way of entering time-of-day data into two fields, let's call them TimeStart and TimeEnd.

What I'd like to have is an interface which:

1)allows typing the time in continuoous form, ommiting the separator,

2)allows for setting the time by using two buttons beside the time field (increase/decrease) for a specified increase/decrease time step

3)cycles between 00:00 and 23:59 (time-of-day strict data type)

Currently, I have a script for the increase/decrease buttons by using a Set Field script step attached that uses the following formula:

Time(hour(timestart);minute(timestart)+15;"00")

But I have the problem time doesn't cycle in the range 00:00-23:59 and keep increasing.

Do you have any ideas?

Link to comment
Share on other sites

This topic is 4373 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.