mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
22 lines
549 B
C
22 lines
549 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: ReactOS CRT library
|
|
* FILE: lib/sdk/crt/time/wstrtime.c
|
|
* PURPOSE: Fills a buffer with a formatted time representation
|
|
* PROGRAMER: Ariadne
|
|
* UPDATE HISTORY:
|
|
* 28/12/98: Created
|
|
*/
|
|
#include <precomp.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
wchar_t* _wstrtime(wchar_t* time)
|
|
{
|
|
static const WCHAR format[] = { 'H','H','\'',':','\'','m','m','\'',':','\'','s','s',0 };
|
|
|
|
GetTimeFormatW(LOCALE_NEUTRAL, 0, NULL, format, (LPWSTR)time, 9);
|
|
|
|
return time;
|
|
}
|