You can display the current date and time using a structure time_t, time_t is found in the included ctime library.