UPDATE_TIME


NameUPDATE_TIME
Number11
Input
(Blank)
Output
time Seconds
time Millis-High32
time Millis-Low32
		

Description

UPDATE_TIME returns the last time the index was updated in two different formats. The first value is the number of seconds since the epoch that the last change occurred. The last two values are the number of milliseconds since the epoch that the last change occurred as a 64-bit value. Since the protocol only allows for values up to 32-bits, the value is broken into the high bits and the low bits. In a C-like language, the value can be reconstructed by casting the values to 64-bit values and performing the operation: (Millis-High32 << 32) | (Millis-Low32). Note that when the server starts the value is 0, regardless of the last update time of the index file.

Return Value

The update time.

Example

< UPDATE_TIME
> 0
> 0
> 0