Updated Date and Time in addpoint to now validate. Cleaned up code