date and time in C

There is no such primitive type in C. But you can built your own data type for date (or anthing thing else) using the struct construct in C. C being a rather old lang is built for speed and therefore it is not burdened with lots of easy to use features.