Does the word "time" have the same definition in the next two sentences?

The time is 10 o'clock.

Do you know what time it is?
the same meaning