147
Views
3
Comments
Solved
Setting time automatically when picking a date
Question

Hello, 

I have a Web block with a calendar and an input box. (variable for the Input is set to DateTime)

I'd like for the time to get automatically set to 23:59 of the chosen day the user picks on the calendar. This input box is not enabled, so the user only has the ability to choose days. 

I have an On Change Screen Action to change the Variable's value when the user picks that date, but I am not able to set the time to 23:59h.

Can't seem to be able to crack this one, any ideas?

2026-02-26 06-29-24
Rahul
 
MVP
Solution

Hi Paulo,

Have you check built in function "BuildDateTime"

see below image-


Hope this will help you.

Regards

Rahul Sahu

UserImage.jpg
Paulo Ribeiro

Rahul Sahu wrote:

Hi Paulo,

Have you check built in function "BuildDateTime"

see below image-


Hope this will help you.

Regards

Rahul Sahu

 Thanks! This worked, such a simple fix!

 

2026-02-26 06-29-24
Rahul
 
MVP

Nice.. :-) Glad to help you.


Regards

Rahul Sahu

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.