constructor of javascript Date for string [duplicate]

I have string like this, 2024-11-03T03:08:39.209797+09:00

Which is passed from python as json format.

Now I try to do this

var myDate = date("2024-11-03T03:08:39.209797+09:00")

However, it doesn’t work correctly.

I think for javascript it should be like this,

#parsing string here

var myDate = date(2024,11,03,3,8,39)

However it looks like a bit ackward.

Is there any better method?