setTimeValue

Sets a timestamp to this tag. The method converts the timestamp with the format of "yyyy:MM:dd kk:mm:ss" and calls setValue . This method will fail if the data type is not TYPE_ASCII or the component count of this tag is not 20 or undefined.

Return

true on success

Parameters

time

the number of milliseconds since Jan. 1, 1970 GMT

open fun setTimeValue(time: Long): Boolean