Activity Dates¶
Definition¶
Within the IATI activity standard several types of dates can be specified.
Dates that relate directly to the iati-activity:
activity-date- the planned and actual start/end dates of theiati-activity.transaction-date- the date a specifictransactiontook place.value-date- the specific date for thevalueof abudgetortransaction, which is used for currency conversion purposes.period-startandperiod-enddates are used to describe a period of time in abudget,planned-disbursementorindicator
activity-date:activity-status- a numeric code to declare current stage of theiati-activity.
Considerations¶
When using the IATI activity standard to declare dates, the following should be considered:
Date format for
activity-date,period-start,period-end,transaction-dateandvalue-datemust be in ISO 8601 (YYYY-MM-DD), eg: 2014-03-21Date format for
generated-datetimelast-updated-datetimemust use ISO 8601 date format, e.g. “2014-03-21T18:45:00+01:00”.A start and end date must be provided - if exact dates are not known then start planned or end planned should be used
Any start date should be before the end date, or the same
All dates can be updated at any point
- An
activity-datecan have four types: start-planned (code 1) - the forecast start date for the
iati-activity(e.g. if theiati-activityis in the pipeline stage or the date of the first disbursement is not known).start-actual (code 2) - the actual start date for the
iati-activity(e.g. the date of the first disbursement).end-planned (code 3) - the forecast end date for the
iati-activity.end-actual (code 4)- the actual end date for the
iati-activity(End dates should, wherever possible, reflect the ending of physical activity.).
- An
The
activity-statusrepresents the latest stage for the activity. It can be updated at any time.When the
activity-statusreaches ActivityStatus codes 3, 4 or 5 then it is recommended that an end-actual (code 4) date is added.
2.01+ Considerations¶
In versions 2.01 and above, the following must also be considered:
The ActivityDateType codes for
activity-datehave changed to being numeric in versions 2.01 and above.Dates must be a valid xsd:date, and a datetimes must be a valid xsd:dateTime.