Sets the masked edit control's contents from a date/time value.
C
BOOL SftMask_Contents_SetDateTime(HWND hwndCtl, const DATE* lpDate);
C++
BOOL CSftMask::SetDateTime(const DATE* lpDate);
hwndCtl
The window handle of the masked edit control.
lpDate
The address of the DATE value to enter.
The return value is TRUE if the date/time was entered successfully.
The edit mask must contain date and/or time field tokens (see Edit Masks). The date/time is formatted into the mask's date and time fields using the user's locale.
See Also GetDateTime | SetValue | Edit Masks | Popup Calendar