• 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
  • FormatDateTime function

    The FormatDateTime function will create an long long from the input day, month, year, hours, minutes and seconds.


    long long __stdcall FormatDateTime(
    __in int year,
    __in int month,
    __in int day,
    __in int hour,
    __in int minutes,
    __in int seconds


    year [in]month [in]day [in]hour [in]minutes [in]seconds [in]

    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.


    Use this function for the 64bit applications, use FormatDateTime32 for 32bit applications.


    Should be exported by -
    Minimum supported API 1.00
    Header tvsserver_base.h