Jump to content

Datediff Udf


Recommended Posts

  • Developers

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

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

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

Link to comment
Share on other sites

  • Developers

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...