Luna/apps/date.c
apio a43550fb9a
All checks were successful
continuous-integration/drone/push Build is passing
apps: Add date
2023-03-24 21:48:43 +01:00

11 lines
135 B
C

#include <stddef.h>
#include <stdio.h>
#include <time.h>
int main()
{
time_t now = time(NULL);
fputs(ctime(&now), stdout);
}