Date format changed to fit the SQL format
Calendar script removed from the file where it is not used at all.
Action selector created