Why does it say can not connect to YouTube on my itouch?

The itouch somtimes resets the date and time itself.go to setting and change the date and time to current.it works for me all the time