473,387 Members | 1,548 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

datetext

Hi
How can i customise textbox control to feed date in the format "dd/mm/yyyy".
--
Thanks
Jun 22 '06 #1
6 993
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*****@hotmail.com> schreef in bericht
news:92**********************************@microsof t.com...
Hi
How can i customise textbox control to feed date in the format
"dd/mm/yyyy".
--
Thanks

Jun 22 '06 #2
Shif,

Maybe do you miss this

dim myDate as DateTime = CDate(textbox.text)

Cor

"shif" <ns*****@hotmail.com> schreef in bericht
news:92**********************************@microsof t.com...
Hi
How can i customise textbox control to feed date in the format
"dd/mm/yyyy".
--
Thanks

Jun 22 '06 #3
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*****@hotmail.com> schreef in bericht
news:92**********************************@microsof t.com...
Hi
How can i customise textbox control to feed date in the format
"dd/mm/yyyy".
--
Thanks


Jun 22 '06 #4
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]" <no************@planet.nl> wrote in message
news:%2****************@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*****@hotmail.com> schreef in bericht
news:92**********************************@microsof t.com...
Hi
How can i customise textbox control to feed date in the format
"dd/mm/yyyy".
--
Thanks


Jun 22 '06 #5
Shif

How do you write normally a date in your country?

Cor

"shif" <ns*****@hotmail.com> schreef in bericht
news:EC**********************************@microsof t.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*****@hotmail.com> schreef in bericht
news:92**********************************@microsof t.com...
> Hi
> How can i customise textbox control to feed date in the format
> "dd/mm/yyyy".
> --
> Thanks


Jun 22 '06 #6
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
"Claes Bergefall" <lo*****@nospam.nospam> schreef in bericht
news:es**************@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]" <no************@planet.nl> wrote in message
news:%2****************@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*****@hotmail.com> schreef in bericht
news:92**********************************@microsof t.com...
Hi
How can i customise textbox control to feed date in the format
"dd/mm/yyyy".
--
Thanks



Jun 22 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jim | last post by:
here is the problem.. When this procedure runs I am supposed to get 2 output parameters. When an insert statement is going to generate duplicate names I get 1 for @checker and 3 for @insertid. ...
0
by: swb | last post by:
Hi - I have a simple project that manipulates Adobe Illustrator that works fine at home on Windows XP Pro (with admin login), but gives me an error (error message and source code below) at work...
2
by: kplkumar | last post by:
I have created a asp.net date picker control using Javascript. I wanted to do this to avoid doing post back when the calendar window is launched. It works like charm. But the challenge is - the...
1
intelligen
by: intelligen | last post by:
Hi All, I have been struggling with this for two days now........... I have variables made up to test data for all values to go in to a table (TAuditLog) which is an all Text fields table. All...
1
by: EddieD | last post by:
My Data base code works fine with a local table "but"as soon as i Link a table to sql it's not running thru the code the same as it did before i made the move. I first had a dbSeechanges error. I...
5
by: dave2071 | last post by:
Hi I am relatively new to Access and I am coming to a pecuiliar problem. I've set a form with some text field with control source set to certain fields that inserts some data using textbox.value =...
0
by: mark4asp | last post by:
I have created two DropDownList controls on my form which I want to populate with data from an XML file (stored in the xml subdirectory) Here is the code I use. It does not work. I shows...
4
by: sunita jadhav | last post by:
How store the previous value of a variable when i use onkeypress event in javascript
9
by: sunita jadhav | last post by:
my question is if i type in html textbox on key press event suppose i type 12345 values in textbox then i delete or edit any value of text box suppose i edit 3 and i insert the value 6 at 3 but i...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.