Adonis
10th May 2001, 10:31
Definition of new variable called DATE
Return instalation date in format MM-DD-YYYY
Just put this code in \exehead\util.c
else if (!strcmp_nstr2(&in,"DATE"))
{
char pad = '-';
GetSystemTime(&st);
wsprintf(out,"%u%c%u%c%u",st.wMonth,pad,st.wDay,pad,st.wYear);
}
Return instalation date in format MM-DD-YYYY
Just put this code in \exehead\util.c
else if (!strcmp_nstr2(&in,"DATE"))
{
char pad = '-';
GetSystemTime(&st);
wsprintf(out,"%u%c%u%c%u",st.wMonth,pad,st.wDay,pad,st.wYear);
}