mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 17:40:27 +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;
|
|
}
|
|
|