Author: quickerzranoid | Posted on: 6/17/2009 9:01:06 AM | Views : 305

 
 hi all... im new in asp.net and this is my first time here too.
im having a problem in asp.net (C#) where i have a Label (lbldatetime) in my registration form which needs the system to auto assign the current windows' date and time into that label. so far, im managed to make it as date only, this is the code:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

protected void Page_Load(object sender, EventArgs e)
    {
        lbldatetime.Text = DateTime.Today.ToShortDateString();
    }
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ...

Go to the complete details ...