# Displaying Date and Time

**URL:** <https://forum.inductiveautomation.com/t/displaying-date-and-time/16675>\
**Category:** General Discussion\
**Created:** [January 22, 2018, 4:27pm UTC](https://forum.inductiveautomation.com/t/displaying-date-and-time/16675 "2018-01-22T16:27:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shwethag](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@shwethag](https://forum.inductiveautomation.com/u/shwethag)\
**Post date:** [January 22, 2018, 4:27pm UTC](https://forum.inductiveautomation.com/t/displaying-date-and-time/16675/1 "2018-01-22T16:27:50Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 22, 2018, 4:37pm UTC](https://forum.inductiveautomation.com/t/displaying-date-and-time/16675/2 "2018-01-22T16:37:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![shwethag](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@shwethag](https://forum.inductiveautomation.com/u/shwethag)\
**Post date:** [January 23, 2018, 8:14pm UTC](https://forum.inductiveautomation.com/t/displaying-date-and-time/16675/3 "2018-01-23T20:14:11Z")

</div>

Thank you! That worked
