Solved

yesterday function from delphi 6

Posted on 2002-03-18
2
435 Views
Last Modified: 2010-04-05
In delphi 6 exists a Yesterday() function. Could someone post the source of this function? I'm interested in the borland implementation.

Thanks!
0
Comment
Question by:egono
2 Comments
 
LVL 15

Accepted Solution

by:
simonet earned 20 total points
ID: 6878071

function Yesterday : TDatetime;
begin
  Result := Date - 1;
end;



Alex
0
 
LVL 2

Author Comment

by:egono
ID: 6879469
They call the date function, I supposed something like this.

Thanks Alex
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question