CImage:KwdSetDate


The KwdSetDate method inserts a date value string into the image header. To set date values, it is best to use the ISO 8601 standard format as done for the DATE-OBS keyword.

Syntax

CImage:KwdSetDate( sKwd, sDate )

bullet.gif    sKwd is the keyword name

bullet.gif    sDate is a string specifying a date in the proper format.

Example

Suppose a CImage named I exists. The following script sets a standard format DATE-OBS keyword in the header:

d = "2004-02-24"

-- time is 24 Feb 2004 in GMT

I:KwdSetDate("DATE-OBS", d)

-- set the DATE-OBS keyword

Related Topics

CImage class

KwdSetTime


Mira Pro x64 Script User's Guide, v.8.77 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.