The SQL/JSON path datetime() function in JSON path expressions converts valid date and time formats (e.g. ISO 8601) to their corresponding PostgreSQL type.
datetime()
For more information, see the JSON path documentation