pub unsafe static kODPolicyAttributeCurrentDate: Option<&'static ODPolicyAttributeType>Available on crate feature
CFOpenDirectoryConstants only.Expand description
Policy attribute for the current date and time as a CFDate.
Policy attribute for the current date and time as a CFDate used in policy strings to compare the current date against another date. The following policy string would allow authentications until the expiration date: [NSString stringWithFormat: “ % @ < % “ , kODPolicyAttributeCurrentDate, kODPolicyAttributeExpiresOnDate];
Do not use kODPolicyAttributeCurrentDate in policies where date arithmetic is needed; for those policies use kODPolicyAttributeCurrentTime instead.
See also Apple’s documentation