Sign in to follow this  
Followers 0
Chris_1013

Datediff Udf

5 posts in this topic

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

Share this post


Link to post
Share on other sites



I searched the v3 forums ( :D ) for DateDiff ...and found this - scroll down a little for more code from JdeB

I 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


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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 :D

Share this post


Link to post
Share on other sites

#5 ·  Posted (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-2003

So using division, int() and such kind of thing you can easily make datediff :)

:D 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. :huh2:

Edited by JdeB

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0