I have two Sheets Daily and Monthly with 8 Cols and I have one dashboard. When I use query function for the dashboard the datetime in Col1 and Col5 are not coming out perfectly as time only shows 00:00:00. Please help I am attaching the Sheet link for reference feel free to make a copy and use.
Link -
Code -
=QUERY({FILTER('MONTHLY AND MISC'!A2:H,'MONTHLY AND MISC'!A2:A<>"");FILTER('DAILY TASK'!A2:H,'DAILY TASK'!A2:A<>"")},"Select Col1,Col2,Col3,Col4,Col5,Col6,Col7,Col8 where Col5 >= datetime '"&TEXT($A$2,"yyyy-mm-dd HH:mm:ss")&"' and Col5 <= datetime '"&TEXT($B$2,"yyyy-mm-dd HH:mm:ss")&"' ",0)