MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / ControlGetDateTime

Method ControlGetDateTime

source/script_gui.cpp:1923–1929  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1921
1922
1923ResultType GuiType::ControlGetDateTime(ResultToken &aResultToken, GuiControlType &aControl)
1924{
1925 LPTSTR buf = aResultToken.buf;
1926 SYSTEMTIME st;
1927 _o_return_p(DateTime_GetSystemtime(aControl.hwnd, &st) == GDT_VALID
1928 ? SystemTimeToYYYYMMDD(buf, st) : _T("")); // Blank string whenever GDT_NONE/GDT_ERROR.
1929}
1930
1931
1932ResultType GuiType::ControlSetMonthCal(GuiControlType &aControl, LPTSTR aContents, ResultToken &aResultToken)

Callers

nothing calls this directly

Calls 1

SystemTimeToYYYYMMDDFunction · 0.85

Tested by

no test coverage detected