I am working on project and I need to get the week number, month and year from a datetime value in the past by simply selecting a date in the past and setting textbox1 to be that date say " 02/03/2013. I don't want to use "datetime.now".
Is it possible?
Thanks in advance

VulpesPosted Nov 1, 2013, 5:50 PM
The following assumes that weeks begin on a Sunday and that 1st January falls in week 1.
private void button1_Click(object sender, EventArgs e)
{
return;
}
Ali ahmadPosted Jan 25, 2014, 7:35 PM
Marvin kakuruPosted Nov 2, 2013, 5:41 PM