By default, vb takes the date style from the regional settings in control
panel - make the change there rather than in code
I would be careful about hard-coding date formats, particularly if your app
will be used by users from more than one country - american users will not
take kindly to being forced to use dd/mm/yyyy !
Cheers
Matt
----- Original Message -----
From: "Bhamini Saboo" <bhamini@a...>
To: "professional vb" <pro_vb@p...>
Sent: Tuesday, February 11, 2003 4:46 AM
Subject: [pro_vb] Changing Date Style
> Hi all,
>
> by default VB takes the date as "mm/dd/yyyy"
> is there any way we can change the default to "dd/mm/yyyy" thru code or
> otherwise.
>
> Thnxs beforehand for all the replies
>
> regards
>
> bharat saboo
>