freeipa/doc/api/DateTime.md
Antonio Torres 88d8534e49 Extend API documentation
This includes:

* Section about command/param info in usage guide
* Section about metadata retrieval in usage guide
* Guide about differences between CLI and API
* Access control guide (management of roles, privileges and
  permissions).
* Guide about API contexts
* JSON-RPC usage guide and JSON-to-Python conversion
* Notes about types in API Reference

Signed-off-by: Antonio Torres <antorres@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2023-04-06 08:56:35 +02:00

550 B

.. _DateTime:

DateTime

DateTime parameter type.

Accepts LDAP Generalized time without in the following format: '%Y%m%d%H%M%SZ'

Accepts subset of values defined by ISO 8601: '%Y-%m-%dT%H:%M:%SZ' '%Y-%m-%dT%H:%MZ' '%Y-%m-%dZ'

Also accepts above formats using ' ' (space) as a separator instead of 'T'.

Refer to the man strftime for the explanations for the %Y,%m,%d,%H.%M,%S.