datetime class : LongTime getter
Description
Gets a long form string representation of time portion.
Syntax
datetimeInstance.LongTime
Arguments
None
Return value
| Class | Description |
| string | A long form string representation of time portion. |
Sample code
| 1: | datetime dt = new datetime(2016, 3, 4, 4, 13, 0); |
| 2: | string longTime = dt.LongTime; // In my environment, "4:13:00". |
Notes
It's a wrapper of the System.DateTime.ToLongTimeString() method.


