Hi, I want to compare the timestamp (mtime) from files provided by the stat command, as you know is something like "1659639479" I made a function (please see below) Maybe gambas include some native method or function? Static Public Function TimeUnix(datTime As Date) As Integer Return DateDiff(Date(1970, 1, 1, 0, 0, 0), datTime, gb.Second) End Regards. Martín.