Timo Posted October 7, 2007 Posted October 7, 2007 Hello, I want to get the date of yesterday (06.10.2007). Is there a function in AutoIt, or a function like date_to_num and num_to_date e.g.? Whow do you get the correct date? I can't find a solution in the forum. Is it right? Many thanks. Timo Bye...,Timo
Timo Posted October 7, 2007 Author Posted October 7, 2007 I found it..... #include <Date.au3> _DateAdd ( $sType, $iValToAdd, $sDate ) Great function. Sorry. Timo. Bye...,Timo
rasim Posted October 7, 2007 Posted October 7, 2007 #include <Date.au3> $yesterday = _DateAdd("d", -1, _NowCalcDate()) MsgBox(0, "Date", "Yesterday is " & $yesterday)
Timo Posted October 7, 2007 Author Posted October 7, 2007 Hello rasim, thank you for your help. Bye...,Timo
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