Re: TIME MATH

Posted by WAllison on May 03, 2002

In Reply to: TIME MATH posted by ABOBBY on April 29, 2002

: HOW WOULD i ADD A VARIABLE TO A TIME FIELD AND THEN DISPLAY OR SAVE AS A TIME IN A DATABASE.

Define the field as Date&Time(DateStamp) in the table.

variables of type TTime and TDate can be combined to use TDateTime;

as in say:

var 
  ADateTime: TDateTime;
begin
  ADateTime := Date + Time;
end;

Date or Time could be a Date/Time field in a table.

Related Articles and Replies:

None


DelphiLand FAQ