Jump to content

_DateDiff


Sardith
 Share

Recommended Posts

#Include <Date.au3>

While 1
    $Diff = _DateDiff("D", _NowCalc(), (@YEAR + 1))
    $Time = _NowTime(3)
ToolTip($Time & @CRLF & $Diff, 0,0)
Sleep(10)
WEnd

For some reason, I can't get the syntax right. What I'm trying to do, is display the current time, and then do datediff. for the current date, to jan 15.

Could anyone lend me a had?

[font="Verdana"]Valik:Get it straight - I'm not here to say please, I'm here to help - if my help's not appreciated then lotsa luck, gentlemen.[/font]

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...