Delphi 5 standard
Moderators: gto, cipto_kh, EgonHugeist
Delphi 5 standard
I assume that Delphi 5 Standard cannot be used with zeos because of missing db.pas unit, right ? Could someone confirm before I will try fix problems with install like missing DateUtils unit ?
Affirmative It's the same like with this thread
Maybe this can help you : a simple replacement for decodeDateTime:
[syntax="delphi"]unit DateUtils;
interface
uses
Sysutils;
procedure DecodeDateTime(Date : TDateTime; Year,Month,Day,Hour,Min,Sec,MSec : Word);
implementation
procedure DecodeDateTime(Date : TDateTime; Year,Month,Day,Hour,Min,Sec,MSec : Word);
begin
DecodeDate(Date,Year,Month,Day);
DecodeTime(Date,Hour,Min,Sec,MSec);
end;
begin
end.[/syntax]
[edit="Michael"]Put the two posts together and added syntax highlighting [/edit]
[syntax="delphi"]unit DateUtils;
interface
uses
Sysutils;
procedure DecodeDateTime(Date : TDateTime; Year,Month,Day,Hour,Min,Sec,MSec : Word);
implementation
procedure DecodeDateTime(Date : TDateTime; Year,Month,Day,Hour,Min,Sec,MSec : Word);
begin
DecodeDate(Date,Year,Month,Day);
DecodeTime(Date,Hour,Min,Sec,MSec);
end;
begin
end.[/syntax]
[edit="Michael"]Put the two posts together and added syntax highlighting [/edit]
- mdaems
- Zeos Project Manager
- Posts: 2766
- Joined: 20.09.2005, 15:28
- Location: Brussels, Belgium
- Contact:
Michael,
Maybe it's better to leave out the line numbers when formatting the code. So we don't have to strip them if we copy it to a unit. I'lll try to attach a stripped version to this reply. Unfortunately I had to zip this little piece of text because .pas files are not allowed as attachment. It would be nice if it were possible to attach '*.pas,*.txt' as well.
btw Any plans to add this unit to the code of Zeoslib
Mark
Maybe it's better to leave out the line numbers when formatting the code. So we don't have to strip them if we copy it to a unit. I'lll try to attach a stripped version to this reply. Unfortunately I had to zip this little piece of text because .pas files are not allowed as attachment. It would be nice if it were possible to attach '*.pas,*.txt' as well.
btw Any plans to add this unit to the code of Zeoslib
Mark
You do not have the required permissions to view the files attached to this post.