Is there a way to convert text to time type? The code in postgresql is as below:
to_char(localtimestamp(0),'HH24:mi:SS')
so i get a value like 15:15:20 , but this type is varchar (or text).
How to do to get a value in type time ?
Thanks!
source share