How to fix this:
Code: Select all
MyDate := "23.05.2019"
CurrentDate:= format("{}.{}.{}",A_DD,A_MM,A_YYYY)
DayIamAfter := MyDate + 3 years ;How to add this? So it would be 23.05.2022
If ( DayIamAfter < CurrentDate )
{
MsgBox, The date is older than 3 years as of current date {!}
}
Else
{
MsgBox, The date is younger than 3 years as of current date {!}
}