CImage:KwdSetDate
The KwdSetDate method inserts a date value string into the image header.
CImage:KwdSetDate( sKwd, sDate ) |
sKwd is the keyword name
sDate is a string specifying a date in the proper format.
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 |
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.