Função DaysBetween
08/03/2003
0
Galera, já me mandaram resposta dizendo que o Delphi 6 possui esta função: DaysBetween
Tenho o Delphi6 Enterprise e não tem. Já pesquisei na ajuda e não tem...
Tenho o Delphi6 Enterprise e não tem. Já pesquisei na ajuda e não tem...
Anonymous
Curtir tópico
+ 0
Responder
Posts
08/03/2003
Sanses
tem certeza que procurou direito???
Returns the number of whole days between two specified TDateTime values.
Unit
DateUtils
Category
date/time routines
function DaysBetween(const ANow, AThen: TDateTime): Integer;
Description
Call DaysBetween to obtain the difference, in days, between two TDateTime values.
DaysBetween counts only whole days that have elapsed. Thus, DaysBetween reports the difference between Dec 31, 1999 11:59 PM and Jan 1, 2000 11:58 PM as 0 because the difference is one minute short of an entire day.
Returns the number of whole days between two specified TDateTime values.
Unit
DateUtils
Category
date/time routines
function DaysBetween(const ANow, AThen: TDateTime): Integer;
Description
Call DaysBetween to obtain the difference, in days, between two TDateTime values.
DaysBetween counts only whole days that have elapsed. Thus, DaysBetween reports the difference between Dec 31, 1999 11:59 PM and Jan 1, 2000 11:58 PM as 0 because the difference is one minute short of an entire day.
Responder
08/03/2003
Sandra
[quote:30238d6c52=´Danilo Rogério´]Galera, já me mandaram resposta dizendo que o Delphi 6 possui esta função: DaysBetween
Tenho o Delphi6 Enterprise e não tem. Já pesquisei na ajuda e não tem...[/quote:30238d6c52]
:wink:
[b:30238d6c52]Danilo[/b:30238d6c52], mais uma dica que talvez já conheça e que facilita muito...
Em qualquer parte da unit escreva a palavra desejada para help e, em seguida, tecle F1 e escolha a opção, VCL ou CLX.
Falou :?: :?:
Tenho o Delphi6 Enterprise e não tem. Já pesquisei na ajuda e não tem...[/quote:30238d6c52]
:wink:
[b:30238d6c52]Danilo[/b:30238d6c52], mais uma dica que talvez já conheça e que facilita muito...
Em qualquer parte da unit escreva a palavra desejada para help e, em seguida, tecle F1 e escolha a opção, VCL ou CLX.
Falou :?: :?:
Responder
Clique aqui para fazer login e interagir na Comunidade :)