forked from ground/ground
18 lines
821 B
C
18 lines
821 B
C
|
|
#pragma once
|
||
|
|
#define _XOPEN_SOURCE // to make gcc happy lol
|
||
|
|
|
||
|
|
#include <groundext.h>
|
||
|
|
#include <groundvm.h>
|
||
|
|
#include <time.h>
|
||
|
|
|
||
|
|
GroundValue datetime_Now(GroundScope* scope, List args);
|
||
|
|
GroundValue datetime_Format(GroundScope* scope, List args);
|
||
|
|
GroundValue datetime_FromFormatted(GroundScope* scope, List args);
|
||
|
|
GroundValue datetime_ToISO8601UTC(GroundScope* scope, List args);
|
||
|
|
GroundValue datetime_ToISO8601Local(GroundScope* scope, List args);
|
||
|
|
GroundValue datetime_FromEpochLocal(GroundScope* scope, List args);
|
||
|
|
GroundValue datetime_FromEpochUTC(GroundScope* scope, List args);
|
||
|
|
GroundValue datetime_ToEpochLocal(GroundScope* scope, List args);
|
||
|
|
GroundValue datetime_ToEpochUTC(GroundScope* scope, List args);
|
||
|
|
GroundValue datetime_Diff(GroundScope* scope, List args);
|
||
|
|
GroundValue datetime_Add(GroundScope* scope, List args);
|