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

    The FormatDate function will create an integer from the input day, month and year.

    Syntax

    int __stdcall FormatDate(
    __in int year,
    __in int month,
    __in int day
    );

    Parameters

    year [in]month [in]day [in]

    Return value

    The function returns an integer. The first 5 bits will be used for the day, the 4 bits in the middle for the month and the last 23 bits for the year

    Requirements

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