Notice: Constant POS_FUNC_INOUT already defined in D:\sites\server_model_v3\site\index.php on line 65

Notice: Constant POS_FUNC_NAME already defined in D:\sites\server_model_v3\site\index.php on line 66

Notice: Constant POS_FUNC_TYPE_NUM already defined in D:\sites\server_model_v3\site\index.php on line 67

Notice: Constant POS_STRUCT_INOUT already defined in D:\sites\server_model_v3\site\index.php on line 69

Notice: Constant POS_STRUCT_NAME already defined in D:\sites\server_model_v3\site\index.php on line 70

Notice: Constant POS_STRUCT_TYPE_NUM already defined in D:\sites\server_model_v3\site\index.php on line 71

Notice: Constant REQUIREMENTS_POS already defined in D:\sites\server_model_v3\site\index.php on line 76
  • About TV's server
  • New in version 3.20
  • New in version 3.10
  • About the source code
  • About protocols/plugins
  • TV's server API
  • Protocol Initialisation
  • Protocol binding
  • Protocol Listening and handling
  • Protocol data storage
  • Control panel
  • Multi column list
  • Time and date
  • Http protocol functions
  • Unimplemented and/or replaced functions
  • 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]month [in]day [in]hour [in]minutes [in]seconds [in]retval [out]

    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