Skip to content

Instantly share code, notes, and snippets.

@sandeepyohans
Created September 12, 2019 06:51
Show Gist options
  • Save sandeepyohans/88fd0d7259c92175e9d3b23144fbe87d to your computer and use it in GitHub Desktop.
Save sandeepyohans/88fd0d7259c92175e9d3b23144fbe87d to your computer and use it in GitHub Desktop.
Get Current Month
DateFormat dateFormat = new SimpleDateFormat("MM");
Date date = new Date();
dateFormat.format(date);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment