Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Invalid
-
3.0.0
-
None
Description
Implement the date_trunc function, as described in this PostGres manual:
https://www.postgresql.org/docs/current/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC
This would allow for the following use cases to be solved:
- casting of timestamps to other resolutions, such as millis and micros
- rounding dates/timestamps
It also allows the user to explicitly allow the truncation of timestamp precision.