Setting time automatically when picking a date

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?

Solution

Hi Paulo,

Have you check built in function "BuildDateTime"

see below image-


Hope this will help you.

Regards

Rahul Sahu

Solution

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!

 

Nice.. :-) Glad to help you.


Regards

Rahul Sahu