4b2b7ee47fe00e2adfd8c568a49686c0ab867967
[reactos.git] / reactos / lib / sdk / crt / time_new / strdate.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS CRT library
4 * FILE: lib/sdk/crt/time/strtime.c
5 * PURPOSE: Fills a buffer with a formatted date representation
6 * PROGRAMER: Ariadne
7 * UPDATE HISTORY:
8 * 28/12/98: Created
9 */
10 #include <precomp.h>
11
12 /*
13 * @implemented
14 */
15 char* _strdate(char* date)
16 {
17 static const char format[] = "MM'/'dd'/'yy";
18
19 GetDateFormatA(LOCALE_NEUTRAL, 0, NULL, format, date, 9);
20
21 return date;
22
23 }