HRESULT VarDateFromUdate(
[in] UDATE *pudateIn,
[in] unsigned long *dwFlags,
[out] DATE *pdateOut
);
Packs a date.
VAR_VALIDDATE
on valid date.The return value obtained from the returned HRESULT is one of the following.
Return value | Meaning |
---|---|
S_OK | Success. |
E_OUTOFMEMORY | Out of memory. |
The UDATE structure is used with VarDateFromUdate and VarUdateFromDate. It represents an "unpacked" date.
typedef struct {
SYSTEMTIME st;
USHORT wDayOfYear;
} UDATE;