If you read the topic Text Fields in Keyboard Maestro, it explains about text fields and numeric fields.
The to field here is an unusual field in that it can be either a text field or a numeric field depending on what attribute you are settings, but in this case it is a numeric field (because creation dates are numbers in seconds since 1970).
Therefore you specify a variable just with the variable name “fileDate” not with a text token.