网站首页  词典首页

请输入您要查询的函数:

 

术语 getlocaltime
释义 GetLocalTime
语法:
C++
void WINAPI GetLocalTime(
__out LPSYSTEMTIME lpSystemTime
);
GetLocalTime函数
检索当前本地日期和时间。
检索当前日期和协调通用时间(UTC)时间格式,请使用GetSystemTime函数。
参数
lpSystemTime [out]
一个SYSTEMTIME结构的指针得到当前本地日期和时间。
返回值
这个函数没有返回值。
备注
设置当前本地日期和时间,使用SetLocalTime函数。
实例
有关示例,请参见系统时间。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinbase.h(头文件:winuser.h)
LibraryKernel32.lib
DLLKernel32.dll
参见
GetSystemTime
当地时间
SetLocalTime
系统时间
时间函数
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年8月27日
==英文原文==GetLocalTime Function
Retrieves the current local date and time.
To retrieve the current date and time in Coordinated Universal Time (UTC) format, use the GetSystemTime function.
Syntax
C++
void WINAPI GetLocalTime(
__out LPSYSTEMTIME lpSystemTime
);
Parameters
lpSystemTime [out]
A pointer to a SYSTEMTIME structure to receive the current local date and time.
Return Value
This function does not return a value.
Remarks
To set the current local date and time, use the SetLocalTime function.
Examples
For an example, see SYSTEMTIME .
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinbase.h (include Windows.h)
LibraryKernel32.lib
DLLKernel32.dll
See Also
GetSystemTime
Local Time
SetLocalTime
SYSTEMTIME
Time Functions
Send comments about this topic to Microsoft
Build date: 8/27/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms724338(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 11:23:06