to_char( 字段, ‘时间格式’ )

举例:
SQL:postgresql中将时间戳转换为字符串_pgsql