CImage:KwdSetTime


The KwdSetTime method inserts a time value keyword string into the image header.

Syntax

CImage:KwdSetTime( sKwd, sValue )

bullet.gif    sKwd is the keyword name

bullet.gif    sValue is the string time value.

Remarks

This method inserts into the image header a time keyword such as TIME-OBS or another TIMExxxx type keyword. If the keyword name already exists, its value is overwritten by the new value.

Example

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

t = "00:15:12.2"

-- time is 0h 15m 12.2s in GMT

I:KwdSetTime("TIME-OBS",t)

-- set the TIME-OBS keyword

Related Topics

CImage class

KwdSetDate


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