How I get the month from a entered date or a current date?