Convert Epoch to Human Readable Date & Time program in C language
Whenever we want to get a date and time from system in Linux, we use time system call which returns the time as the number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). In order to convert these seconds to human readable format we can make use of ctime system call as given in below program,
Comments
Post a Comment