Nope. 1030101 is 1/1/03. They tack that extra one on the front so you can get the expected results from comparing to dates in 1999. For example, suppose you had two dates, 1/1/99 in Variable1 and 1/1/03 in Variable2, and you wanted to see which was greater. If Variable1=990101 that would be greater than 030101. But, if TS used 1030101 and 990101 the conditional works out as expected.
EDIT: As an aside, use the print command to figure out things you don't understand. print(variable1); prints the value of variable1 to the Easy Language Output Bar.
Fantastic, this one works now. Thank you all. (I will also look from now on, at the online manual, since the one I have only goes up to 1999 examples). I am using "date" to add a walk forward optimization feature in my signal.