How to find the last day os the month in postgres? I have a date columns stored as numeric(18) in the format(YYYYMMDD) I am trying it to make it date using
Simply by using the last_day function:
select last_day(to_date(act_date,'YYYYMMDD'))
PS: Now, i believe that you know that it is very important to choose the right tags for your own question!