I am using Date.UTC() method to generate last month date & using below syntax which seems to be fine.
And output preview is also fine.
But while I am inserting data into Orcale DB, 1 day is getting subtracted from the date.
Not able to figure out where is the issue. Tried by changing date data type to varchar2 at DB level…but the value remain same.