| Description |
|
Converts the Days value into the equivalent number of ticks (0.0000001 seconds) in a new TimeSpan value and returns this.
|
| | Notes | Static methods are not methods of an object - they are simply class functions or procedures available at any time.
|
|
| Microsoft MSDN Links |
System
System.TimeSpan
|
|
|
| A simple example |
program Project1;
{$APPTYPE CONSOLE}
var
span : TimeSpan;
begin
span := System.TimeSpan.FromDays(1.2);
Console.WriteLine('1.2 days = {0}', span);
Console.ReadLine;
end.
| | Show full unit code | 1.2 days = 1.04:48:00
|
| |
|
|
|