Chris_1013 Posted April 3, 2004 Share Posted April 3, 2004 Did we ever get the DateDiff UDF, or hasn't it come yet? I need a quick way to work out the how long left until a certain time and day. Cheers Chris Link to comment Share on other sites More sharing options...
trids Posted April 5, 2004 Share Posted April 5, 2004 I searched the v3 forums ( ) for DateDiff ...and found this - scroll down a little for more code from JdeB Link to comment Share on other sites More sharing options...
Developers Jos Posted April 5, 2004 Developers Share Posted April 5, 2004 I searched the v3 forums ( ) for DateDiff ...and found this - scroll down a little for more code from JdeBI submitted a list a Date UDF's to Jeremy in February, and he mentioned 2 weeks ago he would release them that week... donno what the status is now ...Here's the list: http://www.hiddensoft.com/forum/index.php?...findpost&p=7446 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ezzetabi Posted April 5, 2004 Share Posted April 5, 2004 If you wanna code it by your self I advice you merge the dates as a single big number... E.G. 20030526 is the (mm-dd-yyyy) 05-26-2003 So using division, int() and such kind of thing you can easily make datediff Link to comment Share on other sites More sharing options...
Developers Jos Posted April 5, 2004 Developers Share Posted April 5, 2004 (edited) If you wanna code it by your self I advice you merge the dates as a single big number...E.G. 20030526 is the (mm-dd-yyyy) 05-26-2003So using division, int() and such kind of thing you can easily make datediff It was a bit more complex to code it than that...Just subtracting 2 dates in this way will only work within one single month. Edited April 5, 2004 by JdeB SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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