Minecraft wiki entry for time, associated text: time add <amount: int>
Adds <time> to the internal daytime.
time query <daytime|gametime|day>
Queries current time.
time set <amount: int>
time set <time: TimeSpec>
Sets the internal daytime.