Date woes
Thorsten Hohage
thohage at objectmanufactur.com
Mon Mar 26 07:58:17 CDT 2007
On 2007-03-26, at 14:50, Ivan Smahin wrote:
> BP> case EVFieldType.kTypeDate
>
> BP> DateString = mCursor.Field(i).GetString ---> 0000-00-00
> BP> aDate = mCursor.DateField(i).GetDate()--->0002-11-30
>
> BP> aDate is now 30/11/02
>
> BP> Why ?
AFAIR (and this is very vague, ways to less sleep last night! - Btw.
Ruslan it seems, that I solved my "theoretical" problem) is this the
default "empty" value for RB. You can of course set a date variable
to nil value, but "0000-00-00" was "difficult" - so I use internally
(in the app) strings only now and have propriate getters and setters,
but see intro I could totally wrong with this ?!?!?!
regards
Thorsten Hohage
--
objectmanufactur.com - Hamburg,Germany
More information about the Valentina
mailing list