Needs bug fixing of date conversions.