in reply to Date format
You need to show the code (in code tags please) for these parts of your program.