FormatDateTime function
The FormatDateTime function will create an long long from the input day, month, year, hours, minutes and seconds.Syntax
long long __stdcall FormatDateTime(
__in int year,
__in int month,
__in int day,
__in int hour,
__in int minutes,
__in int seconds
);
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.
Return value
The function returns a long long. The value is the number of seconds that have elapsed since 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970, not counting leap seconds.
Remarks
Use this function for the 64bit applications, use
FormatDateTime32 for 32bit applications.
Requirements
Should be exported by | -
|
Minimum supported API | 1.00
|
Header | tvsserver_base.h
|