mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:23:01 +00:00
Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
This commit is contained in:
parent
a28e798006
commit
c424146e2c
20602 changed files with 0 additions and 1140137 deletions
23
lib/sdk/crt/time/strdate.c
Normal file
23
lib/sdk/crt/time/strdate.c
Normal file
|
@ -0,0 +1,23 @@
|
|||
/*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS CRT library
|
||||
* FILE: lib/sdk/crt/time/strtime.c
|
||||
* PURPOSE: Fills a buffer with a formatted date representation
|
||||
* PROGRAMER: Ariadne
|
||||
* UPDATE HISTORY:
|
||||
* 28/12/98: Created
|
||||
*/
|
||||
#include <precomp.h>
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
char* _strdate(char* date)
|
||||
{
|
||||
static const char format[] = "MM'/'dd'/'yy";
|
||||
|
||||
GetDateFormatA(LOCALE_NEUTRAL, 0, NULL, format, date, 9);
|
||||
|
||||
return date;
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue