2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/crtdll/time/strtime.c
5 * PURPOSE: Fills a buffer with a formatted date representation
6 * PROGRAMER: Boudewijn Dekker
10 #include <msvcrt/time.h>
11 #include <msvcrt/stdio.h>
12 #include <msvcrt/errno.h>
13 #include <msvcrt/internal/file.h>
16 char *_strdate( const char *datestr
)
20 char *dt
= (char *)datestr
;
22 if ( datestr
== NULL
){
28 sprintf(dt
,"%d/%d/%d",d
->tm_mday
,d
->tm_mon
+1,d
->tm_year
);