well the issue only happens on this one line, so ive changed that line to encodedate but
Ive noticed that previously the user has run another process and performs EXACTLY the same line (though the 01/01/1900' is stored as a variable not hardcoded), but the user gets through this fine. :( hmmm > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Donovan Broad > Sent: Monday, 27 January 2003 8:47 a.m. > To: Multiple recipients of list delphi > Subject: RE: [DUG]:stringtodate problem? > > > Hi Chris > > I find that it safer to use DecodeDate and EncodeDate when > dealing with > TDateTime - this way you don't have to be concerned with > which date format > is being considered by the conversion routine. > > HTH > > Donovan > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On > Behalf Of Chris Veale > Sent: Monday, January 27, 2003 8:35 AM > To: Multiple recipients of list delphi > Subject: [DUG]:stringtodate problem? > > > Hi. > > I am trying to do a strtodate('01/01/1900'); > > This is used simply to determine an order of a sequence of > dates so I do > this to set the earliest date. > > Now on almost all computers this is no problem, but on ONE > computer this > dies with an "unknown exception" and I can capture the following > information... > > There is also a problem where the computers system date format was > mm/dd/yyyy and this caused another problem, but I think ive > fixed that one > with a formatdate call, but this one is really baffling me. > > The OS is the same as I am running so I cant see an issue > there, and the > system shortdateformat is now correct also. > > Can anyone think what this could be? I know datetime is from > 13/12/1899 > could this be a problem? should I change it to > strtodate('01/01/1970'); > > cheers > > Chris Veale > ================================================================= > > > date/time : 2003-01-24 16:51 > computer name : SERVER > operating system : Windows 2000 > free disk space : 14,34 GB > executable : kiwiload.exe > exec. date/time : 2002-12-20 12:01 > exception class : Exception > exception message : Unknown Exception. > > thread $2A0: > $004F115F kiwiload.exe madExcept 2067 CreateBugReport > $004EDE87 kiwiload.exe madExcept 1072 SendShellMail > $004EF1F8 kiwiload.exe madExcept 1474 TExceptionBox.DialogWndMethod > $004F02B1 kiwiload.exe madExcept 1695 ShowException > $004F0499 kiwiload.exe madExcept 1747 ReceiveHandleException > $004EB75D kiwiload.exe madTools 390 MsgHandlerWindowProc > $004F05FD kiwiload.exe madExcept 1782 HandleExceptionThread > > main thread ($454): > $77E1484C user32.dll > $004F0719 kiwiload.exe madExcept 1829 HandleException > $004F1635 kiwiload.exe madExcept 2129 InterceptAHandleExcept > $00521D84 kiwiload.exe main 2291 validatebudflow > $00522B39 kiwiload.exe main 2868 process_bud_flow > $005282EC kiwiload.exe main 4535 TForm1.Button2Click > $0052A732 kiwiload.exe KiwiLoad 22 KiwiLoad > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/03 > > > > > ______________________________________________________ > The contents of this e-mail are privileged and/or confidential to the > named recipient and are not to be used by any other person and/or > organisation. If you have received this e-mail in error, please notify > the sender and delete all material pertaining to this e-mail. > ______________________________________________________ > -------------------------------------------------------------- > ------------- > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > > -------------------------------------------------------------- > ------------- > New Zealand Delphi Users group - Delphi List - > [EMAIL PROTECTED] > Website: http://www.delphi.org.nz > To UnSub, send email to: [EMAIL PROTECTED] > with body of "unsubscribe delphi" > Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/ > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/03 > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.445 / Virus Database: 250 - Release Date: 21/01/03 --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi" Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/