extract(epoch from to_timestamp(to_char("",'yyyy-MM-DD hh24:mi:ss'),'yyyy-MM-DD hh24:mi:ss'))*1000 as time