Home All Groups Group Topic Archive Search About
Author
22 Jun 2006 8:31 AM
shif
Hi
How can i customise textbox control to feed date in the format "dd/mm/yyyy".
--
Thanks

Author
22 Jun 2006 8:54 AM
Cor Ligthert [MVP]
Shif,

Your data (dates) can be read in any format as long as it is confirm the
standards of the country settings.

The format you show now (unerstanding it is dd/MM/yyyy) is used in by
instance:
    -    complete Europe
    -    almost complete America except the USA and I thought by instance
Mexico and Puorto Rico
    -    almost complete Africa
    -    parts of Asia (western and nothern parts)

Therefore tell something more about that?

Cor


Show quoteHide quote
"shif" <ns_0***@hotmail.com> schreef in bericht
news:92330E92-D097-4195-A304-B6A487F00829@microsoft.com...
> Hi
> How can i customise textbox control to feed date in the format
> "dd/mm/yyyy".
> --
> Thanks
Author
22 Jun 2006 4:38 PM
Claes Bergefall
Actually, that format is not used all over Europe. Some countries (Sweden
for instance) uses the reverse order yyyy-MM-dd

   /claes

Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:%23EbgzkdlGHA.1344@TK2MSFTNGP03.phx.gbl...
> Shif,
>
> Your data (dates) can be read in any format as long as it is confirm the
> standards of the country settings.
>
> The format you show now (unerstanding it is dd/MM/yyyy) is used in by
> instance:
>    -    complete Europe
>    -    almost complete America except the USA and I thought by instance
> Mexico and Puorto Rico
>    -    almost complete Africa
>    -    parts of Asia (western and nothern parts)
>
> Therefore tell something more about that?
>
> Cor
>
>
> "shif" <ns_0***@hotmail.com> schreef in bericht
> news:92330E92-D097-4195-A304-B6A487F00829@microsoft.com...
>> Hi
>> How can i customise textbox control to feed date in the format
>> "dd/mm/yyyy".
>> --
>> Thanks
>
>
Author
22 Jun 2006 6:11 PM
Cor Ligthert [MVP]
Claes,

I am always glad to hear that, that format is called the ISO format, it was
used in all former communist countries after the last world war as well, I
don't know which still are usting that. That I wrote complete Europa is a
writting mistake, normally I write almost, because I don't know how some far
East European countries do it as well.

But I find it nice to hear that Sweden is one of those using ISO of course
the best format to represent a date.

Cor


Show quoteHide quote
"Claes Bergefall" <louplou@nospam.nospam> schreef in bericht
news:esPcynhlGHA.4716@TK2MSFTNGP04.phx.gbl...
> Actually, that format is not used all over Europe. Some countries (Sweden
> for instance) uses the reverse order yyyy-MM-dd
>
>   /claes
>
> "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
> news:%23EbgzkdlGHA.1344@TK2MSFTNGP03.phx.gbl...
>> Shif,
>>
>> Your data (dates) can be read in any format as long as it is confirm the
>> standards of the country settings.
>>
>> The format you show now (unerstanding it is dd/MM/yyyy) is used in by
>> instance:
>>    -    complete Europe
>>    -    almost complete America except the USA and I thought by instance
>> Mexico and Puorto Rico
>>    -    almost complete Africa
>>    -    parts of Asia (western and nothern parts)
>>
>> Therefore tell something more about that?
>>
>> Cor
>>
>>
>> "shif" <ns_0***@hotmail.com> schreef in bericht
>> news:92330E92-D097-4195-A304-B6A487F00829@microsoft.com...
>>> Hi
>>> How can i customise textbox control to feed date in the format
>>> "dd/mm/yyyy".
>>> --
>>> Thanks
>>
>>
>
>
Author
22 Jun 2006 8:55 AM
Cor Ligthert [MVP]
Shif,

Maybe do you miss this

dim myDate as DateTime = CDate(textbox.text)

Cor

Show quoteHide quote
"shif" <ns_0***@hotmail.com> schreef in bericht
news:92330E92-D097-4195-A304-B6A487F00829@microsoft.com...
> Hi
> How can i customise textbox control to feed date in the format
> "dd/mm/yyyy".
> --
> Thanks
Author
22 Jun 2006 2:36 PM
shif
sir my problem is that,i have a small invoice screen and i want to get
invoice date throuh textbox control,how can i set the mask like 00/00/0000
and dd/mm/yyyy format,i had tried datetime picker but user has to press arrow
key to move from dd part to mm part,when more invoices are there its
difficult to feed date.in visualbasic textbox has dataformat property for
setting date format.in .net how can i do this, please help
--
Thanks


Show quoteHide quote
"Cor Ligthert [MVP]" wrote:

> Shif,
>
> Maybe do you miss this
>
> dim myDate as DateTime = CDate(textbox.text)
>
> Cor
>
> "shif" <ns_0***@hotmail.com> schreef in bericht
> news:92330E92-D097-4195-A304-B6A487F00829@microsoft.com...
> > Hi
> > How can i customise textbox control to feed date in the format
> > "dd/mm/yyyy".
> > --
> > Thanks
>
>
>
Author
22 Jun 2006 6:12 PM
Cor Ligthert [MVP]
Shif

How do you write normally a date in your country?

Cor

Show quoteHide quote
"shif" <ns_0***@hotmail.com> schreef in bericht
news:EC5D3AFF-2018-4250-91BC-FB93D54E3572@microsoft.com...
> sir my problem is that,i have a small invoice screen and i want to get
> invoice date throuh textbox control,how can i set the mask like 00/00/0000
> and dd/mm/yyyy format,i had tried datetime picker but user has to press
> arrow
> key to move from dd part to mm part,when more invoices are there its
> difficult to feed date.in visualbasic textbox has dataformat property for
> setting date format.in .net how can i do this, please help
> --
> Thanks
>
>
> "Cor Ligthert [MVP]" wrote:
>
>> Shif,
>>
>> Maybe do you miss this
>>
>> dim myDate as DateTime = CDate(textbox.text)
>>
>> Cor
>>
>> "shif" <ns_0***@hotmail.com> schreef in bericht
>> news:92330E92-D097-4195-A304-B6A487F00829@microsoft.com...
>> > Hi
>> > How can i customise textbox control to feed date in the format
>> > "dd/mm/yyyy".
>> > --
>> > Thanks
>>
>>
>>