Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToString

Returns a string representation of the time.
Read time 1 minuteLast updated 10 days ago

Definition

ToString()

Returns a string representation of the time.
public override readonly string ToString()

Returns

Type

Description

string

ToString(string, IFormatProvider)

Returns a string representation of the time.
public readonly string ToString(string format, IFormatProvider formatProvider)

Parameters

format


formatProvider

Returns

Type

Description

string