For a digital clock circuit, specifically for date the counter should reset to 1 in some cases for the units digit of the date. For example if the tens digit of the date is 0 then the units digit should be 1, it should not be zero. So assuming we are in a month with 31 days, after 31 it should reset to 01. I used J-K flipflops and made a condition so that when the tens digit is 0 and the units digit is also 0, preset the least significant bit. But it isnt working properly. it goes from 01 to 03 and 05, then continues normally(6,7,8,9). When ten's digit is not zero the units digit counter works properly and goes from 0 to 9. Any suggestions would be highly appreciated.