Wednesday, November 28, 2018

Postgres SQL


To get the 12HH with AM/PM

select to_char(create_date at time zone 'utc', 'HH12:MI:SS AM') as "createdate", proc_type, state, * from vb_proc_queue where proc_type='Email1SubsqSignUpNotify' order by create_date desc

04:18:19 PM

No comments:

Post a Comment

free online comma separating tool

https://delim.co/#