Adonis
10th May 2001 11:31 UTC
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);
}
dbareis
11th May 2001 11:45 UTC
HI,
I would guess that you expect this to be the very next request when you made your post, but what about the rest of the World (and from what I gather parts of America) that use DD/MM/YY, why can't it just return the local format (perhaps 12 Aug 2001)?
Adonis
15th May 2001 13:08 UTC
Just an Idea
You can modify code. so DATE can be appeared as You like.
This Code is Just an Idea