よろしくお願いします。
typedef struct
{
int year;
int month;
int dayl
} date;

date型のd1とd2があって、if (d1 > d2) のような比較をやりたいのです。
できれば高速な方法が知りたいです。