Announcements
We have 2 fields of type Date-time named; BreakStartDate & BreakEndDate. for the BreakStartDate i set the default value for the Hour drop down to be "Hour(Now())". While for the BreakEndDate i specify the Hour to be "Hour(Now())" + one hour as follow:-
but my above formula will not add one hour to the Hour drop down .. any advice please?
Thanks
@johnjohn123
Use the DateAdd function, eg
DateAdd( yourDateTimeValue, 1, Hours)
@Anonymoushere what i tried `Hour(DateAdd(Now(),1,Hours))` but the hour will always be shown as 00
I don't play around with Time much so I had to check out a form I'm currently working on.
To me, it looks like the Hrs & Mins dropdowns use Text type data and not numbers so you need to convert to Text to show these values. The hint is to look at the Items property and you'll see what I mean.
So BreakStartDate hours dropdown should be
Text(Hour(Now()), "00")
and, BreakEndDate hours dropdown
Text(Hour(Now())+1, "00")
See if that works for you?
@Anonymousthis worked for me thanks
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 914
11manish 627
Valantis 598