From Clomosy Docs

Revision as of 12:23, 13 November 2024 by ClomosyManager (talk | contribs)

The Now function returns the current date and time in the local time zone.

Example

var
  today : TclDateTime;
{
  today = Now(); // or Now
  ShowMessage('Today has date = '+DateToStr(today));
  ShowMessage('Today has time = '+TimeToStr(today));
}

Output:

See Also