assuming the datestamp line is there on load this updates
memo1.Lines[Memo1.lines.Count-1] := FormatDateTime('d-mmm-yyyy h:nn
am/pm',now);
else to put it there for the first time
memo1.lines.Add(''); // put in extra line
memo1.Lines.Add(FormatDateTime('d-mmm-yyyy h:nn am/pm',now));
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, June 07, 2001 2:30 PM
To: Multiple recipients of list delphi
Subject: [DUG]: getting date/time
for my project i am in need of automating the date time stamp,
when i click on the load button and the file is loaded into my
memo1box at the end of the last line i need it to miss one line and
put in the time date/stamp.
thanx in advance.
...From
Kristy and Brendon
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"