Added methods to easily change between string, date and sql date.