Pass a date into Applescript

Hi
I'm passing a date attribute into my Applescript action, by using the Options button and selecting that attribute.
I'd like to be able to change the format of the date. Hazel's default date format isn't recognised by Applescript when doing things like setting the modified date of a file.
It's possible to change the format of attributes in other Hazel actions (such as renaming files). But I can't see how to do that when passing these into an Applescript action.
Tom
I'm passing a date attribute into my Applescript action, by using the Options button and selecting that attribute.
I'd like to be able to change the format of the date. Hazel's default date format isn't recognised by Applescript when doing things like setting the modified date of a file.
It's possible to change the format of attributes in other Hazel actions (such as renaming files). But I can't see how to do that when passing these into an Applescript action.
Tom