It depends on what you want to measure and with what level of precision. computer uptime
TIckcount: ticks Milliseconds: milliseconds Get system info (v18) uptime: seconds application uptime Get application info (v18) uptime: seconds time TImestamp (v17): milliseconds --- if the unit is right but the starting point is not, I suppose you can subtract the delta by storing the anchor value. --- for logging, you can also take advantage of built-in features. e.g. SET DATABASE PARAMETER(Diagnostic log recording;1) LOG EVENT(Into 4D commands log;"some message") --- you are kindly reminded that this list is no longer the primary source of information for many member of the community. visit https://discuss.4d.com ********************************************************************** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************