In PostgreSQL, I need to update the date in the date column. The value in the database is stored in the date format. But from the client the date comes in unix format. How can I convert a unix date value to date format?
In PostgreSQL, I need to update the date in the date column. The value in the database is stored in the date format. But from the client the date comes in unix format. How can I convert a unix date value to date format?
Source: https://ru.stackoverflow.com/questions/809516/
All Articles
to_timestamp, you need the functionto_timestamp, then you need to understand how the request comes from the client and where you can do the conversion with this function. The question is not enough details for this. - Fine