CImage:Time
The Time method returns the time-stamp at the beginning of the exposure as the number of seconds.
nSeconds = CImage:Time() where |
The time nSeconds is the number of seconds since midnight GMT.
On failure, this method returns 0.
Suppose that an image in the file sPath was acquired beginning at 0h 52m 23.62s GMT. The following script returns the time at which the image was acquired:
|
-- create a new CImage |
|
-- open the image |
|
-- Result: t = 3143.62 sec |
|
-- Result: T = '00:52:23.62' |