outputing correct date range for correct months. working on formating of string output.