Method TimeToString
TimeToString(Int64, DateTools.Resolution)
Converts a millisecond time to a string suitable for indexing.
Declaration
public static string TimeToString(long time, DateTools.Resolution resolution)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | time | the date expressed as milliseconds since January 1, 1970, 00:00:00 GMT (also known as the "epoch") |
DateTools.Resolution | resolution | the desired resolution, see Round(Int64, DateTools.Resolution) |
Returns
Type | Description |
---|---|
System.String | a string in format |