This section needs to be expanded. However, documentation work is similar to the development work in that it takes time and that it needs funding.
If you are midPoint subscriber, you can request that we complete this section and we will do that as soon as possible.
Date and Time Formats
In a normal case all timestamps in midPoint are in W3C DateTime format. MidPoint converts all the date/time values to this format. However, there is one problem when it comes to the connectors. The ConnId framework does not have any way how to express date/time information in the schema. ConnId framework is representing date/time information as (long) integers in UNIX timestamp format. Therefore by default even LDAP timestamps are converted to UNIX timestamps. As midPoint does not know that this is a date/time information it cannot properly convert this to W3C dateTime format.
However, you can control this behavior in LDAP connector configuration by using timestampPresentation property. It has two possible values:
unixEpoch: LDAP connector will present timestamps in UNIX epoch format (number of seconds since 1970)
string: LDAP connector will present timestamps in LDAP-native format (generalized time, ISO 8601
In any case, if you are mapping LDAP timestamp attribute to midPoint dateTime properties you have to make explicit conversion in the mapping expression. This would be normally done by midPoint itself. But as ConnId framework does not have a way how to express timestamps in schema then midPoint does not know that this is a timestamp and it cannot make the automatic conversion (https://jira.evolveum.com/browse/MID-3220).
This is a missing or incomplete feature of midPoint and/or of other related components. We are perfectly capable to implement, fix and finish the feature, just the funding for the work is needed. Please consider the possibility for supporting development of this feature by means of midPoint Platform subscription. If you already are midPoint Platform subscriber and this feature is within the goals of your deployment you may be able to use your subscription to endorse implementation of this feature.