Simplified encode_cf_datetime