Skip to content

Instantly share code, notes, and snippets.

@lfgrando
Created March 12, 2021 13:40
Show Gist options
  • Save lfgrando/db896aaa408c3fe17d99d396ba8da3ee to your computer and use it in GitHub Desktop.
Save lfgrando/db896aaa408c3fe17d99d396ba8da3ee to your computer and use it in GitHub Desktop.
let date = new Date();
let today = ("0" + date.getDate()).slice(-2) + "/" + ("0"+(date.getMonth()+1)).slice(-2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment