accessing to records by time and date