
Signature
Jeff Gaines
Damerham Hampshire UK
I just set the time programmatically, and the user can change with key, and
i want to get this value, in datetime normaly
best regards,
owen.
> On 12/12/2006 in message <uCZwM3cHHHA.1248@TK2MSFTNGP02.phx.gbl> Owen
> wrote:
[quoted text clipped - 10 lines]
> Are you setting the time programmatically (e.g. using a timer event) or
> are you seeking input from a user?
Jeff Gaines - 12 Dec 2006 11:44 GMT
>I just set the time programmatically, and the user can change with key,
>and i want to get this value, in datetime normaly
OK, how about:
string strTime = "01/01/2007 " + maskedTextBox1.Text;
DateTime daTime = Convert.ToDateTime(strTime);
You would need to set the day, month and year.

Signature
Jeff Gaines
Damerham Hampshire UK