Check UTC Time in Range
spm,gt,lt,eq = utc.inr([t], [tf], [tt])
Compares the seconds-past-midnight for the time, within a range.
Parameter | Type | Description |
---|---|---|
t |
integer | UTC time value. Default is now. |
tf |
integer | UTC time "from" value. Default is now. |
tt |
integer | UTC time "to" value. Default is one day |
Returns | Type | Description |
---|---|---|
spm |
boolean | True if t is within the same seconds-past-midnight (ie comparing just one day) |
gt |
boolean | true if t >= tf |
lt |
boolean | true if t < tt |
eq |
boolean | true if t == tt |