Script

Hello, i would understand when Hazel run script (Run Applescript, Javascript, Automator or shell) how it pass the dates that before it has worked.
If i want write a script, how i can call the dates that work Hazel.
There is some document to study how hazel passes these dates to the script?
Thank
If i want write a script, how i can call the dates that work Hazel.
There is some document to study how hazel passes these dates to the script?
Thank