Meaning of “it's” - Learner’s Dictionary

it's

uk us /ɪts/
IT IS

short for it is:

"What time is it?" "It's one o'clock."
IT HAS

short for it has:

It's been a long day and I'm tired.

(Definition of “it's” from the Cambridge Learner’s Dictionary © Cambridge University Press)