Hi,

nice to see new Release.
Why is date problem from 2007r1 not solved?
On a german MacOS X System I have string='03.01.07' after RB converts  
it to date ich get AbbriviateDate = '03.01.0007'

Excel, all AppleApplication and all other application I know works  
fine and handle the date correct. Whats happen with RB?

bye


Am 04.01.2007 um 06:43 schrieb Claudius Sailer:

> Am 03.01.2007 um 21:02 schrieb Hans-Georg:
>
>> Am 03.01.2007 um 20:50 schrieb Jonathan Johnson:
>>
>>>> ShortDate and AbbreviatedDate  switched their meaning in RB2007.
>>>
>>> That's not quite true.
>>
>> As Claudius asked for German dates:
>>
>> If you select a German date style in  the International  
>> preferences pane, then the former ShortDate is AbbreviatedDate  
>> now, and former AbbreviatedDate  is ShortDate now. I didn't test  
>> other international date formats.
>
> Problem is now much bigger. AbbreviateDate hepled me shortly, but  
> when I insert in an EditField 03.01.07 in germany is this  
> 03.01.2007 but RB2007r1 makes 03.01.0007 by this code
>
>   Test="03.01.07"
>   Call ParseDate(Test,testdate)
>   me.text=me.text+"ShortDate "+testdate.ShortDate+EndOfLine
>   me.text=me.text+"AbbreviatedDate "+testdate.AbbreviatedDate 
> +EndOfLine
>
> Result in StaticText is
>
> 03.01.07
> 03.01.0007 <-- this is absolutely wrong
>
> in german you can write 03.01.07 and 03.01.07 and 3.1.07 and so on  
> and all is 3. January 2007



Claudius

-- 
iMac CD 2GHz / MacOS X 10.4.8de / RB 2006r4/ Valentina 2.5.6
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:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to