// StatSetDate
BOOL STAT_SET_DATE(Hash statName, Any* value, int numFields, BOOL save);
'value' is a structure to a structure, 'numFields' is how many fields there are in said structure (usually 7).
The structure looks like this:
int year
int month
int day
int hour
int minute
int second
int millisecond
The decompiled scripts use TIME::GET_POSIX_TIME to fill this structure.