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

    The FormatTime function will create an integer from the input hours, minutes, seconds and miliseconds.


    int __stdcall FormatTime(
    __in int hour,
    __in int minutes,
    __in int seconds,
    __in int milliseconds


    hour [in]minutes [in]seconds [in]milliseconds [in]

    Return value

    The function returns an integer. The first 5 bits will be used for the hours, the next 6 bits are used for the minutes, the next 6 bits are used for the seconds and the next 10 bits for the miliseconds (the last 5 bits will stay unused).


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