So I'm trying to just get the hour it is(hour of the day) for example in eastern it is
6:31
as of the time posting this.
I'm trying to get the hours from unix time. Here is what I have done so far but i feel as it is innacurate and I am not sure where to go from here.
hourTime = ((tick() / 3600) % 12)
any help would be much appreciated :)

3 comments
Local
I can't decipher whether you are telling me to use a local variable or trying to tell me something else.
I'd use os.time() to get the hours.