Thread: type conversion between text and timestamp

type conversion between text and timestamp

From
"Alex Cheung Tin Ka"
Date:
Dear All,
    I would like to know how to convert a text string to timestamp in pgsql 7.2:
 
    e.g. "July 26, 2002 16:00" or "December 25, 2002 11:30"
 
    I have use the to_timestamp('December 25, 2002 11:30', 'Month DD, YYYY HH24:MI') but seems not work.
 
    Do you have any other suggestion on this ?
 
Alex