#include <stdio.h>
#include <stdlib.h>
#include <sys/time.h>
#include <unistd.h>
#include <time.h>

int main(int argc, char **argv){
    time_t t = time(NULL);
    struct tm *local = localtime(&t);

            t = time(NULL);
            local = localtime(&t);

        printf("%s sleeping\n\n", asctime(local));

        sleep(5);

            t = time(NULL);
            local = localtime(&t);
        printf("%s done\n\n", asctime(local));




        return 0;
}
