Hi Keith

I just tried the following

on mouseup

   convert the seconds to dateitems

   put it

end mouseup

The result is 2021,5,11,7,52,5,3  So that is correct.

Where is the value in your tCreateDate variable from.  Maybe there was a 
miscalculation there.

Martin

> On May 11, 2021, at 6:44 AM, Keith Clarke via use-livecode 
> <[email protected]> wrote:
> 
> Hi folks,
> What am I doing wrong with convert tCreateDate from seconds to dateItems… 
> 
> I’m pulling the long files of files I created yesterday on a Mac and 
> attempting to convert the creation date. 
> 
> Whatever date type I choose, LiveCode reckons yesterday was in the year 2040. 
> Did I oversleep?
> Thanks
> Keith
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to