# Datetime Display Issue

**URL:** <https://forum.inductiveautomation.com/t/datetime-display-issue/105188>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [April 16, 2025, 6:04pm UTC](https://forum.inductiveautomation.com/t/datetime-display-issue/105188 "2025-04-16T18:04:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [April 16, 2025, 6:17pm UTC](https://forum.inductiveautomation.com/t/datetime-display-issue/105188/3 "2025-04-16T18:17:17Z")

</div>

You also want `yyyy` not `YYYY`:

> [@system.date.getDayOfMonth unexpected output](https://forum.inductiveautomation.com/t/system-date-getdayofmonth-unexpected-output/101808/2):
>
> Time to play 'spot the difference': startDate = system.date.parse('2024-01-01 00:00:00', 'yyyy-MM-dd HH:mm:ss') endDate = system.date.parse('2025-01-01 00:00:00', 'yyyy-MM-dd HH:mm:ss') print system.date.yearsBetween(startDate, endDate) print system.date.getSecond(startDate) == system.date.getSecond(endDate) print system.date.getMinute(startDate) == system.date.getMinute(endDate) print system.date.getHour24(startDate) == system.date.getHour24(endDate) print 'about to print dayOfMonth...' print…

---

_[View the full topic](https://forum.inductiveautomation.com/t/datetime-display-issue/105188)._
