I've just started C, and I have a task to add 1minute and 30sec to the entered date which consists of year month day hours minutes seconds.

So, I've used struct construction as it is one of the requirements. 
However, everything looks good until the many cases I have to take care of. 
For example I have to change everything if the entered date is 2014/12/31 23:58:30 or 2014/2/28 23:59:00 .. The easiest way is to check it with if statements but I think there should be another way, instead of writing a massive number of `if` statements, for every case I want to take care of. Could you please tell me if there is another clearer way of doing so. 

```
struct{
 int day;
 int month;
 int year;
 }a;
struct{
 int hours;
 int minutes;
 int seconds;
 }b;

```

Thought this way might make a little bit more if statements. Also another requirement is to add 0 if the month for example is entered as 3, the output should be 03.. Anyway it seems I cannot escape from the "phone number" if statements. Thanks for the answers and time spent!!