Added limit checks for the second, minute and hour arguments