time of day is
Code
windower.ffxi.get_info().time
which returns "number of minutes past 00:00 in the current vana'diel day" because uh, of course it does. thankfully you can just hardcode comparing it to the dusk/dawn times and never have to sweat any fancy conversion (fwiw, I always just floor it/60 to get hours and modulo 60 it to get minutes, hell if I know if there's some fancy lua time function built in)
player tp is
Code
windower.ffxi.get_player().vitals.tp
which returns your tp obviously
these go in whatever functions you're using to modify your equipsets, but since I don't know what you're doing, you'll have to do that part yourself
edit: for these and more fun functions, don't hesitate to use
the windower wiki page which I have bookmarked at this point