Is there a way to get accurate CreationDate on Linux ? so far I scanned my files and based on console the files have accurate date when I do an ls -lsah , in my example I get CreationDate as 22 Oct 2019 which is the correct one while if I get FolderItem.CreationDate via XOJO, I get it as date 2022-09-02 which is nowhere near the date I have on Linux.
Any idea how those things work ? I rely heavily on the dates for data accuracy and this messes up the whole process .
CreationDate is deprecated, use CreationDateTime instead, you wouldn’t know it though because the documentation mentions that you should use CreationDate all over the place.
Well I did more tests and I think XOJO messed up the dates,
So far I added all the options on the tests and it seems that
row.Column(“creationDate”).DateTimeValue = nFile.CreationDateTime - gives 2022-09-02 20:41:30
While
row.Column(“modificationDate”).DateTimeValue = nFile.ModificationDateTime- gives “2016-09-10 09:47:01” which seems to be the proper date .
@Xojo could you please have a look on this, I believe those are reversed, at least on Linux.
Just opened a case, hopefully it will get fixed fast #72128
Thanks.