I need help extracting the proper date value from a long date string.
Here is the initial date:
Sun Aug 30 2020 00:00:00 GMT+0200 (Central European Summer Time)
How can I parse this date to: 2020-08-30
?
Additionally, I have another scenario:
Tue Aug 25 2020 11:58:04 GMT+0200 (Central European Summer Time)
Is there a way to parse this date to: 11:58
?
Thank you for any assistance :) //////////////////////////////////////////////////////////////