CImage:KwdSetDate
The KwdSetDate method inserts a date value string into the image header.
CImage:KwdSetDate( sKwd, sDate ) |
This method inserts into the image header a date keyword such as DATE-OBS or another DATExxxx type keyword. If the keyword name already exists, its value is overwritten by the new value.
Suppose a CImage named I exists. The following script sets a standard format DATE-OBS keyword in the header:
|
-- time is 24 Feb 2004 in GMT |
|
-- set the DATE-OBS keyword |