Added accessor functions for Date class
Fixed Set and added SetFormat and GetFormat to Date class