#1 Changed Type of fromDate and toDate to Timestamp instead of Time