> try:>> select TO_CHAR(Expires::timestamp, 'DD-MM-YYYY HH:MI AM') from Test;>
Hi JC, i changed previous query to the followingselect TO_CHAR(datetime(expires), 'DD-MM-YYYY HH:MI AM') from Test;it works fine.Regards,pramod