XmpDate class
Leave feedback
On this page
Represents Date in XMP packet.
A date-time value is represented using a subset of the formats defined in Date and Time Formats:
- YYYY
- YYYY-MM
- YYYY-MM-DD
- YYYY-MM-DDThh:mmTZD
- YYYY-MM-DDThh:mm:ssTZD
- YYYY-MM-DDThh:mm:ss.sTZD
The XmpDate type exposes the following members:
| Constructor | Description |
|---|---|
| init | Initializes a new instance of XmpDate. |
| init | Initializes a new instance of XmpDate. |
| Method | Description |
|---|---|
| get_xmp_representation | Returns the string containing the value in XMP format. |
| accept_value | Extracts the property value using a custom ValueAcceptor. (inherited from PropertyValue) |
| accept_value_value_acceptor | (inherited from PropertyValue) |
| to_array | (inherited from PropertyValue) |
| to_class | (inherited from PropertyValue) |
| to_string | Returns a string that represents the property value. (inherited from XmpValueBase) |
| to_struct | (inherited from PropertyValue) |
| Property | Description |
|---|---|
| format | The format string for the current XMP date value. |
| value | The DateTime value of the XMP date. |
| raw_value | The raw value. (inherited from PropertyValue) |
| type | The type of the property. (inherited from PropertyValue) |
| Field | Description |
|---|---|
| ISO_8601_FORMAT | The ISO 8601 (roundtrip) format string. |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.