Overall it looks fine for me, and without any modifications I can run it to give me this as a result:
1. All odd numbers between firstNumber and secondNumber inclusive
2. The sum of all numbers between firstNumber and secondNumber exclusive
3. All numbers from secondNumber to firstNumber in a single line with commas separating the numbers
4. The date and time as the last line in the file in the format yyy-mm-dd hh:mm:ss
Which aside from the date format at the end being incorrect (it should either be 15:09 or 03:09 PM), looks good.
Is the problem when you are trying to compile / run the program? What's the full error you are getting? One thing to watch for are both the package naming when calling / compiling the java, as well as the file extensions (don't provide the extensions).
BTW, on a side note, the date/time does actually match exactly what the requirements are. So you may want to confirm / verify that; I'd suggest it should be either 'HH:mm:ss' or 'hh:mm:ss a'