Given the linking structure, I'd say "7 o'clock" renames the subject, which would make that phrase a noun in form: The time is 7 o'clock. 7 o'clock is the time. But.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.