Not so odd. You have to understand that date is not a variable type in AutoIt. All variables are variant and dates are consider as string. So there is multiple ways to save date field in a variable. You need to make sure your string follow the rule of the functions you rely on.