ReganJ03
asked on
DateTime.Now.ToString("YYMMDD") into Label
I'm trying to pass a timestamp into a label I already have one of the labels working correctly with this code:
this.lbl_time.Text = DateTime.Now.ToString("HHM M");
I would like to do this same for a lvl_date... I thought it would be as simple as:
this.lbl_date.Text = DateTime.Now.ToString("YYM MDD");
Nope. Any help? Thank you again for your help!
this.lbl_time.Text = DateTime.Now.ToString("HHM
I would like to do this same for a lvl_date... I thought it would be as simple as:
this.lbl_date.Text = DateTime.Now.ToString("YYM
Nope. Any help? Thank you again for your help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.