Solved

yesterday function from delphi 6

Posted on 2002-03-18
2
427 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now