dim file as FolderItem
file = FolderItem.ShowOpenFileDialog("")
if file <> nil then
dim vDate as date
vDate = file.CreationDateTime
messagebox(vDate.LongTime)
end if
code à copier dans un bouton pour faire le test…
quand je vérifie l’heure du fichier en question sur le Finder, j’ai pas la même heure, j’ai donc décidé ne trouvant pas de solution pour avoir l’heure exacte, de faire un calcule de décalage de x secondes, mais le problème c’est que la différence entre les fichiers est aléatoire de quelques minutes secondes, donc impossible de faire un calcule d’ajustement… je me demande si c’est un bug de Xojo ou c’est moi qui ai loupé quelque chose ? merci de m’aider si vous avez la solution
when I check the time of the file in question on the Finder, I don’t have the same time, so I decided not to find a solution to get the exact time, to make a x seconds lag calculation, but the problem is that the difference between files is random of a few seconds seconds, so impossible to make an adjustment calculation… I wonder if it’s a Xojo bug or I missed something? thank you for helping me if you have the solution
if I do: Messagebox(file.CreationDateTime.ToString)
i have the same problem, a lag of about 50 minutes
whatever the way the file time has the same error at the second loan, but if I change the file the lag isn’t the same as the second loan… it’s a Xojo bug?