LFX Posted September 24, 2010 Share Posted September 24, 2010 (edited) I know there is the system() expression, but the only thing that works is system(time), not 'time /t'. Edit: Or do you know another way to check how much time has passed since the last cook of a node? Edited September 25, 2010 by LFX Quote Link to comment Share on other sites More sharing options...
beeemtee Posted September 27, 2010 Share Posted September 27, 2010 you can use python for that, for example import time print time.time() will print time elapsed since epoch in seconds. see the documentation of the "time" module for much more options: http://docs.python.org/library/time.html there is also a "datetime" module which allows you to do complex manipulations on objects representing time points or ranges. Quote Link to comment Share on other sites More sharing options...
LFX Posted October 11, 2010 Author Share Posted October 11, 2010 Even if I hadn't need it in the end, I won't forget to thank you for your answer! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.