By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If I simply try to parse date in EEE MMM dd HH:mm:ss z yyyy format, it gives something which is not date.
dateFormat(Date.now(), "EEE MMM dd HH:mm:ss z yyyy")

It returns EEE 3737 04 21:01:08 z 2020

codesandbox.io