Formating the Data in a Text Box

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Just like the way we set the format for a cell in a excel sheet....how can i
format the data in my text box...
I want to know how to format a text box for the following data
1. Month/Date/Year = MM/DD/YYYY
2. Time = Hours: Mins
 
Vishnu,

That depends what the culture is that is used. The OS for which are .Net
have the dates work on the way the culture is set in the setting of the
system.

Therefore first what do you mean with MM/DD/YYYY as month/date/year

The nearest date description I know is MM/dd/yyyy which means month as 2
ciphers, day 2 ciphers, year 4 ciphers. I assume that you mean with date,
day however to be sure.

So maybe can you make this clear, before you get a bunch of answers which do
in fact not work.

Cor
 
Cor,
You are right...MM/DD/YYYY is Month/Date/Year...I want to know if there are
any fuctions in VB.NET which can be used to format a text box...Let me know
 
You are right...MM/DD/YYYY is Month/Date/Year...I want to know if there
are
any fuctions in VB.NET which can be used to format a text box...Let me
know
And how should the date than be presented, I asked you if you did mean day,
however now you confess that it is date, what should than that DD look like?

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

Back
Top