How to get popup calendar to change every morning

Hi,

I am new to the scripting and am trying to get a popup calendar to change to the current date at 5:00am every morning but needs to be changeable?

Thanks in advanced

Use an expression binding on the selected date.

setTime(now(0),5,0,0)

now(0) only evaluates once and does not poll because of the zero. Then set the time to 5.

You can change the datetime manually where the expression will be re-evaluated on window open or current date change.

2 Likes

This post is tagged for Vision not perspective.

worked perfectly, thank you very much!

1 Like