#pragma once #define _XOPEN_SOURCE // to make gcc happy lol #include #include #include 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);