Descripción
Get local time as struct tm
File Template: ❌
Prefix
time:local
Scopes
c
Snippet de código
#include <time.h> time_t now = time(NULL); struct tm *local = localtime(&now);
Get local time as struct tm
time:local
c
#include <time.h> time_t now = time(NULL); struct tm *local = localtime(&now);