fn convert_date(ts: Option<u64>) -> DateTime<Utc>
Convert a CXP timestamp to a DateTime.
If the timestamp is None, the current time is used.