Sign in to follow this  
Followers 0
Sardith

_DateDiff

3 posts in this topic

#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]

Share this post


Link to post
Share on other sites



Thanks Paulie


[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]

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