datetime: Update diagnostic to use DiagnosticCheck class
This was missed when updating the other diagnostics. (It doesn't apply when running in a container.)
This was missed when updating the other diagnostics. (It doesn't apply when running in a container.)