FormatTime

From GT-MP
Jump to: navigation, search
FormatTime
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Client-side Function Description

Syntax

API.formatTime(double ms, string format);

Required Arguments

  • ms: parameter input should be in double type.
  • format: parameter input should be in string type.

NOTE: This function returns data in string type.

Usage example(s)

API.formatTime(double ms, string format);

References