Skip to content

Instantly share code, notes, and snippets.

@AshKyd
Last active October 7, 2023 19:42
Show Gist options
  • Save AshKyd/8843581 to your computer and use it in GitHub Desktop.
Save AshKyd/8843581 to your computer and use it in GitHub Desktop.
A momentjs RFC2822 formatted date string.
var DATE_RFC2822 = "ddd, DD MMM YYYY HH:mm:ss ZZ";
moment().format(DATE_RFC2822);
@Giayychan
Copy link

@alanibrus i think you got the simplest answer :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment