TIOParams.EXIF_DateTimeOriginal2
TIOParams.EXIF_DateTimeOriginal2
Declaration
property EXIF_DateTimeOriginal2: TDateTime;
Description
The date and time that the original image was taken. This property is a TDateTime variant of
EXIF_DateTimeOriginal. This value should not be modified by your software. If the clock has not been set or the camera doesn't have a clock, the property may return zero. In the Exif standard this tag is optional, but it is mandatory for DCF.
Note: The returned value is assumed to be local time
// Update EXIF date for the current file
ImageEnView1.IO.Params.EXIF_DateTime2 := Now;
ImageEnView1.IO.Params.EXIF_DateTimeOriginal2 := Now;
ImageEnView1.IO.Params.EXIF_HasEXIFData := True;
ImageEnView1.IO.InjectJpegEXIF( ImageEnView1.IO.Params.Filename );
See Also
◼EXIF_DateTimeOriginal
◼EXIF_DateTime2
◼UseEXIFDateTime