Date Truncate
Date_Truncate
It will truncate and reset it to the start
Examples Of Using Date_Trunc , truncating day
In PostgreSQL, you can use the DATE_TRUNC function to truncate a timestamp to the beginning of the day (midnight). If you want to reset the time...
jeevanhenryd.hashnode.dev2 min read