FormatDateTime32 function
The FormatDateTime function will create an longlong from the input day, month, year, hours, minutes and seconds.Syntax
int __stdcall FormatDateTime32(
__in int year,
__in int month,
__in int day,
__in int hour,
__in int minutes,
__in int seconds,
__out long long *retval
);
Parameters
year [in] This value represents the number of the year. This value can be a number between 1970 and 58494243700.
month [in] This value represents the number of the month. This value can be a number between 1 and 12.
day [in] This value represents the day of the month. This value can be a number between 1 and 31.
hour [in] This value represents the hour of the day. This value can be a number between 0 and 23.
minutes [in] This value represents an ammount of minutes. This value can be a number between 0 and 60.
seconds [in] This value represents an ammount of seconds. This value can be a number between 0 and 60.
retval [out] A pointer to a value to receive the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970, not counting leap seconds.
Return value
If no error occurs the function returns True (one). If the function fails it will return False (zero).
Remarks
Use this function for the 32bit applications, use
FormatDateTime for 64bit applications.
Requirements
Should be exported by | -
|
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|