first attempt that went nowehere. Thanks Java Date library.