search functions for time and date added to views.  'hour' added to models, 'moment' changed to 'date'