The current time is expressed in elapsed seconds and microseconds since 00:00:00, January 1, 1970 (Unix Epoch). In this article, we are going to show you how to use the gettimeofday() function in Linux.
...
Formatting Current Time Example.
Specifier | Meaning |
---|---|
%d | As a decimal number for the month's day (range 01 – 31). |