Sorry, I think I didn't explain that enough... what I meant was, is that I was using /time query daytime to FIGURE out which time it was, as that is the approach others took. If you just want the command I'm trying to trigger, I'm trying to do a /tellraw at a certain tick time (e.g. midnight).
Rollback Post to RevisionRollBack
Please, everyone, if your post is solved, edit the name and mark it [SOLVED]. Period.
I think you explained well enough...The process is the same for 1.13 and prior to 1.13, use something that either detect time or represent time, output when requirement are meet. In this case, /execute store...time query detect and store time, /execute if score...run tellraw is the output.
/execute store result score #time time run time query daytime
Repeat this, it store a score that represent daytime in tick.
1000 is day, 18000 is midnight, 13000 is night, and 6000 is noon.
All you need is detect the score and run commands
/execute if score #time time matches 6666 run tellraw @a "here"
Another way to do this is setup a constantly score adding command that represent daytime tick, nice and simple, but it could be inaccurate. There is also one more way to do it, which is using worldborder get...