Oups, _strdate est au format mm/dd/yy je crois.
YY/MM/DD
C'est en nombre que tu veux le formater ou en mot (Feb, Mon etc.) ?
Si c'est en nombre, essais cette fonction:
void formatdate (char *out)
{
SYSTEMTIME systime;
char tmp[5], *d = tmp;
GetLocalTime(&systime);
itoa(systime.wYear, tmp, 10);
do *out++ = *d++; while(*d); *out++ = '/'; d = tmp;
itoa(systime.wMonth, tmp, 10);
do *out++ = *d++; while(*d); *out++ = '/'; d = tmp;
itoa(systime.wDay, tmp, 10);
do *out++ = *d++; while(*d); *out = 0;
}
C++ (@++)