codes pls.

the format should be like this.

DATE: TEXTBOX1 = month/date/year
TIME: TEXTBOX2 = time
DAY: TEXTBOX3 = day today

pls help me.
needed ASAP.

DATE: TEXTBOX1 = Date.Now.month & "/" & Date.Now.day & "/" & Date.Now.Year
TIME: TEXTBOX2 = Date.Now.ToShortTimeString
DAY: TEXTBOX3 = Date.Now.ToShortDateString

codes pls.

the format should be like this.

DATE: TEXTBOX1 = month/date/year
TIME: TEXTBOX2 = time
DAY: TEXTBOX3 = day today

pls help me.
needed ASAP.

Hi,

You can do it like this:

TextBox1.Text = Date.Now.ToShortDateString
        TextBox2.Text = Date.Now.ToShortTimeString

        TextBox3.Text = Date.Now.DayOfWeek.ToString

textbox1.text=microsoft.visualbasic.format(today,"MM/dd/yyyy")
textbox2.text=microsoft.visualbasic.right(now,11)
textbox3.text=Date.Now.DayOfWeek.ToString

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.