Displaying Date and Time

Could anyone please let me know how to display current date and time on the screen? Thanks,
Shwetha.

The simplest way would be to place a label on the window and bind its ‘text’ property to the expression function ‘now(0)’. Consider using the dateFormat() expression function and/or stringFormat() expression function to make the date/time show up in your preferred format.

1 Like

Thank you! That worked