ScriptCore3.Time

From Soldat Community Wiki
Revision as of 19:17, 22 August 2013 by Mighty (talk | contribs) (new page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function Time: TDateTime
 Result: Current Time (encoded)

Description

This function will return TDateTime representing current time (not including date)

Example

var
  curr: TDateTime;

begin
  curr := Time();
  WriteLn(FormatFloat('##0.###',100*curr)+'% of the day is gone already!');
  WriteLn('This means it''s '+FormatDateTime('hh:nn:ss:zzz',curr));
end.