Phaser Posted October 19, 2010 Share Posted October 19, 2010 Hi Guys I would like to have a message popup stating how many hours have passed since last logon, I can store the old time in an ini then read it when next using the app, how do I queery the difference? Thanks Link to comment Share on other sites More sharing options...
ZacUSNYR Posted October 19, 2010 Share Posted October 19, 2010 Check out _DateDiff Link to comment Share on other sites More sharing options...
Realm Posted October 19, 2010 Share Posted October 19, 2010 Hello Phaser, Try: _DateDiff() in the Date.au3 UDF Realm My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
bogQ Posted October 19, 2010 Share Posted October 19, 2010 _DateDiff shud do it TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
Phaser Posted October 19, 2010 Author Share Posted October 19, 2010 (edited) thanks guys, found this epoc thingy in the forum _datediff _DateDiff( 's',"1970/01/01 00:00:00",_NowCalc()) just need my own vars in there, thanks again for the direction Edited October 19, 2010 by Phaser Link to comment Share on other sites More sharing options...
Realm Posted October 19, 2010 Share Posted October 19, 2010 Phaser, There is specific documentation in the Help File under the 'User Defined Functions Reference' in Date Management that would be very helpful in figuring out how to customize that function to your needs. Realm My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now