Setting Popup Calendar to current datetime

Is there a way to use a expression or scripting to set the calenders current date and time when the window opens?

I found the solution. I used this expression for the date binding.

now() //returns the current time, updates every second.

Another approach, if you prefer not to constantly be updating like now() in an expression. Use a SQL Query, set the polling mode to “off”, then it will update when the screen is opened. You may also want to add some time to give the user a buffer while the window is open.


Or just use now(0), which doesn’t update by itself.