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


VulpesRank #55 · 29.2K reputationPosted Nov 1, 2013, 1:50 PM EDT
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;
}
Marvin kakuruRank #3,979 · 374 reputationPosted Nov 2, 2013, 1:41 PM EDT
Ali ahmad3 reputationPosted Jan 25, 2014, 2:35 PM EST