0

I am storing a dynamic object in my session storage and some of the properties of it are date. When I store it my doing json.stringfy this values gets stores

2022-10-21T10:00:00.000Z

but I want to either save it like this or retrieve it like this

Fri Oct 21 2022 12:00:00 GMT+0200 (Central European Summer Time)

I can manually do it but is there a more dynamic sort of way for this?

mohsinali1317
  • 4,255
  • 9
  • 46
  • 85

0 Answers0