While giving the input data

when I’m giving the input data, In time can we only give in year not months or days ???

hey @Legendankit, it will be mentioned in question that whether you need to take time in year, month or days.

Ok …If it will be mentioned over there den will there any change in the code??

hey @Legendankit, yes code will be according to input format only.

Sorry I did not get u …can u explain me once again.

hey @Legendankit, you please share your code saved in Coding Blocks IDE