Added h/m/s back to sub query dates

Added h/m/s back to sub query dates