mirror of
https://github.com/reactos/reactos.git
synced 2024-09-19 17:21:14 +00:00
6afbc8f483
svn path=/branches/reactos-yarotows/; revision=45219
24 lines
549 B
C
24 lines
549 B
C
/*
|
|
* 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
|
|
*/
|
|
wchar_t* _wstrdate(wchar_t* date)
|
|
{
|
|
static const WCHAR format[] = { 'M','M','\'','/','\'','d','d','\'','/','\'','y','y',0 };
|
|
|
|
GetDateFormatW(LOCALE_NEUTRAL, 0, NULL, format, (LPWSTR)date, 9);
|
|
|
|
return date;
|
|
|
|
}
|