CImage:KwdSetHistory CImage:KwdSetVal

CImage:KwdSetTime


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

Syntax

CImage:KwdSetTime( sKwd, sValue )

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 fragment 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, KwdSetDate