mirror of
https://github.com/SerenityOS/serenity
synced 2024-11-05 17:46:52 +00:00
dc6f57f19c
This only has second accuracy right now, I'll work out subseconds later.
10 lines
150 B
C++
10 lines
150 B
C++
#include <LibC/time.h>
|
|
#include <LibC/stdio.h>
|
|
|
|
int main(int c, char** v)
|
|
{
|
|
time_t now = time(nullptr);
|
|
printf("%u\n", now);
|
|
return 0;
|
|
}
|
|
|