# 40 minutes difference between Xojo and Finder time files

**URL:** <https://forum.xojo.com/t/40-minutes-difference-between-xojo-and-finder-time-files/60482>\
**Category:** macOS\
**Created:** [January 15, 2021, 9:35am UTC](https://forum.xojo.com/t/40-minutes-difference-between-xojo-and-finder-time-files/60482 "2021-01-15T09:35:37Z")\
**Posts on this page:** 1\
**Showing post:** 42

<div class="post-metadata">

**Author:** ![DerkJ](https://forum.xojo.com/letter_avatar_proxy/v4/letter/d/e495f1/32.png) [@DerkJ](https://forum.xojo.com/u/DerkJ)\
**Post date:** [January 18, 2021, 9:56am UTC](https://forum.xojo.com/t/40-minutes-difference-between-xojo-and-finder-time-files/60482/42 "2021-01-18T09:56:52Z")

</div>

Clearly this is a bug on (Xojo?) MacOS side:

Note i use DateTime instead of Date since “Date” is deprecated.

Windows DateTime instance (works correctly):  
Note: Windows has one bug an that is DateTime.DayOfWeek shows 2 while it should be 1 since the day starts @ monday and the day on the image below is monday:

 ![windows_datetime_xojo](https://forum.xojo.com/uploads/default/original/2X/4/438b242bff0b902a56b6fb97ab97df15a3e2e34f.png)

Windows FolderItem.ModificationDateTime:

 ![windows_folderitem_modification_datetime_xojo](https://forum.xojo.com/uploads/default/original/2X/7/75a3c130b7929c9d621eee2037e247d177a58652.png)

Both Date and Time seem to be correct in “Europe/Amsterdam” or GMTOffset 3600

---

_[View the full topic](https://forum.xojo.com/t/40-minutes-difference-between-xojo-and-finder-time-files/60482)._
