Hi,

I think you need to create your own validation like :

    Str str1 = "31.04.2007";
    Date d =  str2date(str1,123);
    Str str2 = date2str(tgl,123,2,2,2,2,4);

Just compare if str1 is not the same as str2 then your string date is
invald.

Regards,

Agus

On 8/29/07, mlefoa <[EMAIL PROTECTED]> wrote:
>
>   Many thanks for all answers to my question.
>
> However, how can I validate a date so that, e.g. 31.4.2007, would be
> rejected as an illegal date? I excepted str2date to do that.
>
> Regards,
> Morten Lehrmann
>
> 
>


[Non-text portions of this message have been removed]

Reply via email to