Hello,

datum=new date
datum.shortdate --> 03.01.07 in german...

I would expect 03.01.2007 and this also works this way in RB2006r4
This new format conuses my application. I don't know why I check the date

  Dim theDate, minDate, maxDate as date

  TheTrue=parseDate(Me.text,theDate)
  if not TheTrue then
    theDate=new date
  else
    minDate=new date
    minDate.year=mindate.year-10
    maxDate=new Date
    maxDate.year=maxDate.year+10
    if theDate.totalSeconds<minDate.totalSeconds then
      Fehlermeldung(TextAchtung,TextFehlerBasisDatum01)
    elseif theDate.totalSeconds>maxDate.totalSeconds then
      Fehlermeldung(TextAchtung,TextFehlerBasisDatum02)
    end if
  end if

  if strcomp(me.text,"",0)<>0 then
    me.text= theDate.shortdate
  end if

and this fails now :-((

bye


Claudius

--
iMac CD 2GHz / MacOS X 10.4de / RB 2006r4/ Valentina 2.5
Homepage    http://www.ClaSai.de
iChat        ryhoruk
RealBasic ListBoxes: [ I feel the need...the need for speed!!! ]


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to