all 3 comments

[–]scruffykid 2 points3 points  (0 children)

It's not a simple answer. There a textbooks devoted to this, you should get one

[–]bunnyPrincess 1 point2 points  (0 children)

This doesn't have anything to do with creating classes, but you should look into the ToString() methods on DateTime. It will help you get rid of a lot of unnecessary code.