Tdating
  Home FAQ Contact Sign in
 
Advanced search
MATCHING GROUPS



more...
POPULAR GROUPS

more...

found 15 articles for 0.000 sec
Re: misteri di tdate     

Group: it.comp.lang.delphi · Group Profile · Search for Tdating in it.comp.lang.delphi
Author: Giorgio
Date: Mar 1, 2008 09:58

...estrazione.data:=strtodatetime('%%d/%%d/%%d',[dc.giorno,dc.mese,dc.anno])); "NB" <nIX@IXl.com> ha scritto nel messaggio news:fq9ts2$fiu$1@aioe.org... allora... in una funzione salvo un dato tipo tdate su un file, in un'altra lo prelevo... ma la data ГЁ sempre la stessa.. come mai? procedura di salvataggio type testrazione=record data:tdatetime; end; var estrazione:...
Show full article (1.50Kb) · Show article thread
misteri di tdate     

Group: it.comp.lang.delphi · Group Profile · Search for Tdating in it.comp.lang.delphi
Author: NB
Date: Feb 29, 2008 13:34

allora... in una funzione salvo un dato tipo tdate su un file, in un'altra lo prelevo... ma la data ГЁ sempre la stessa.. come mai? procedura di salvataggio type testrazione=record data:tdatetime; end; var estrazione:testrazione; festrazioni:file of testrazione; posizione:integer; begin assignfile(festrazioni,'Estrazioni.dat'); rewrite(festrazioni); posizione:=0; repeat seek(fc,...
Show full article (1.22Kb)
Re: programma a generazione casuale     

Group: it.comp.lang.delphi · Group Profile · Search for Tdating in it.comp.lang.delphi
Author: Mazinga
Date: May 2, 2008 10:37

...E questa e` la procedura di base: procedure CreaFilePeriodo(nomefile: string; DataIniziale: TDate); var indice, j, c: Integer; // Assegnati conterra` i nomi dei turnisti assegnati... // un'estrazione casuale Assegnati: array [0..10] of string; Data: TDate; Puoi provarlo facilmente copiandolo direttamente in Delphi 3... ma ovviamente va sistemato per ...
Show full article (0.95Kb) · Show article thread
Re: programma a generazione casuale     

Group: it.comp.lang.delphi · Group Profile · Search for Tdating in it.comp.lang.delphi
Author: Coso
Date: Apr 30, 2008 22:23

...', 'Mario'); E questa e` la procedura di base: procedure CreaFilePeriodo(nomefile: string; DataIniziale: TDate); var indice, j, c: Integer; // Assegnati conterra` i nomi dei turnisti assegnati con // un'estrazione casuale Assegnati: array [0..10] of string; Data: TDate; FileTesto: TextFile; Nomi: TStringList; const separatore = '; '; // Questa e` una ...
Show full article (4.40Kb) · Show article thread
Re: misteri di tdate     

Group: it.comp.lang.delphi · Group Profile · Search for Tdating in it.comp.lang.delphi
Author: NB
Date: Mar 1, 2008 13:46

"Giorgio" <giorgio@giorgione.it> ha scritto nel messaggio news:47c99908$0$16024$5fc30a8@news.tiscali.it... Non manca la funzione format ? estrazione.data:=strtodatetime('%%d/%%d/%%d',[dc.giorno,dc.mese,dc.anno])); ma porco di un cane... ero convinto di avercela messa!
Show full article (0.28Kb) · Show article thread
Locating Date Fields (Dialect 3) of Firebird     

Group: borland.public.bde · Group Profile · Search for Tdating in borland.public.bde
Author: Rozan NAS
Date: Feb 26, 2008 10:36

.... I use D2007, BDE 5.2, Firebird 2.1 (Dialect 3). A TQuery failed to locate on a date field. Is there any workaround or any comment? Thanks in advance, Rozan Sample Code: var tmpDate : TDate; begin tmpDate := Date; //TransDate field is a TDateField, //the following Locate never returns True !! if qrySample.Locate ('TransDate', tmpDate, []) then .... end;
Show full article (0.47Kb)
Re: procedura per calcolare giorni fra due date     

Group: it.comp.lang.delphi · Group Profile · Search for Tdating in it.comp.lang.delphi
Author: Andrea Laforgia
Date: Oct 14, 2007 12:42

... 14 Oct 2007 20:17:39 +0200, Mazinga <raffaele.stabile@fastwebnet.it> wrote: La differenza tra due TDate ГЁ in giorni, quindi: var DTStart, DTEnd: TDate; GGDiff: Integer; ... DTStart := EncodeDate(2007, 10, 14); DTEnd := EncodeDate(2007, 10, 20); GGDiff := DTEnd-DTStart; Le date sono...
Show full article (0.53Kb) · Show article thread
Re: procedura per calcolare giorni fra due date     

Group: it.comp.lang.delphi · Group Profile · Search for Tdating in it.comp.lang.delphi
Author: Mazinga
Date: Oct 14, 2007 11:17

... Come si fa a calcolare quanti giorni passano tra una data e l'altra? La differenza tra due TDate ГЁ in giorni, quindi: var DTStart, DTEnd: TDate; GGDiff: Integer; ... DTStart := EncodeDate(2007, 10, 14); DTEnd := EncodeDate(2007, 10, 20); GGDiff := DTEnd-DTStart; Le date sono in due ...
Show full article (0.52Kb) · Show article thread
Re: procedura per calcolare giorni fra due date     

Group: it.comp.lang.delphi · Group Profile · Search for Tdating in it.comp.lang.delphi
Author: Andrea Laforgia
Date: Oct 14, 2007 11:01

.../2006 al 31/10/2006 = 31 giorni (mi occorre sapere i giorni tra le due date, insomma). La differenza tra due TDate ГЁ in giorni, quindi: var DTStart, DTEnd: TDate; GGDiff: Integer; ... DTStart := EncodeDate(2007, 10, 14); DTEnd := EncodeDate(2007, 10, 20); GGDiff := DTEnd-DTStart;
Show full article (0.47Kb) · Show article thread
Re: HOW TO UPDATE PERFORMANCE OF SQL-VIEW (VFP6)     

Group: microsoft.public.fox.vfp.queriessql · Group Profile · Search for Tdating in microsoft.public.fox.vfp.queriessql
Author: sanjib
Date: Jan 29, 2007 21:16

...,; Products.open_stock + SUM(IIF(Stock_lgr.tdate < ddatefrom, IIF(Stock_lgr.t_type = "MRN" .OR....; Products.open_stock + SUM(IIF(stock_lgr.tdate <= ddateto, ; IIF(Stock_lgr.t_type = "MRN" .OR....> Products.open_stock+SUM(IIF(Stock_lgr.tdate<ddatefrom,Stock_lgr.q_pcs,0)) AS ...MRN".OR.Stock_lgr.t_type="GRN" AND stock_lgr.tdate<=ddateto,Stock_lgr.q_pcs,NVL(-Stock_lgr.q_pcs,0...
Show full article (5.17Kb) · Show article thread
1 · 2 · next