get previous/next month’s year and month and print into console