2016-03-08 56 views
1

我在postgresql中的日期格式爲「17/12/2011」。如何將日期格式轉換爲postgresql中的毫秒數?

我怎樣才能將它轉換爲使用postgreql的select子句的毫秒數?

目前,我只是執行SELECT子句爲

select tableDate,tableSales 
from table_name 

我想有像當我選擇tableDate應該轉換成使用一些PostgreSQL函數毫秒。

tableDate DATE 
tableSales Numeric 

回答

相關問題