I have tried searching everywhere but cannot really think of a way. I have it so that it does
os.date( "%H:%M:%S" , Timestamp )
And outputs it like so 24:00:00
Anyone got any ideas to make it format like a 12 our clock instead?
os.date
See http://www.mkssoftware.com/docs/man3/strftime.3.asp for available format flags.
use %I instead of %H for 12-hour clock
Yep, got it sorted thanks
Sorry, you need to Log In to post a reply to this thread.