removing ec_report_get_start_date_and_end_date because it is only used in one place. Moved the code back to where the proc was referenced, because it seems over worked anyway
fix bug, where months higher equal 08 lead to problems due to octal interpretation (can't use invalid octal number as operand...), aborting immediate mail sends in aug. or later.
fix bug, where months higher equal 08 lead to problems due to octal interpretation (can't use invalid octal number as operand...), aborting immediate mail sends in aug. or later.