Struggling to convert this date:
created_at= "Thu Sep 19 14:24:59 UTC 2019"
I attempted to use the following code:
let elementDate=moment(created_at)
However, I keep receiving an error message:
moment.invalid(/* Fri Aug 30 09:52:04 UTC 2019 */)
I also experimented with this approach:
moment(created_at,"DDD Mo DD hh:mm:ss UTC YYYY")
Unfortunately, it doesn't seem to be producing the desired outcome. Any ideas on how to resolve this issue?