datetext

C

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
 
C

Cor Ligthert [MVP]

Shif,

Maybe do you miss this

dim myDate as DateTime = CDate(textbox.text)

Cor
 
G

Guest

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
 
C

Claes Bergefall

Actually, that format is not used all over Europe. Some countries (Sweden
for instance) uses the reverse order yyyy-MM-dd

/claes
 
C

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top