G
Guest
Hi!
I will get the date from now (DateTime.Now is 18.12.2003) but exact
16 years ago (18.12.1987).
when I make something like this:
//we set min. employee age to 16 years
TimeSpan minEmployeeAge = new TimeSpan(5840,0,0,0);
DateTime maxDate = DateTime.Now - minEmployeeAge;
maxDate return me the date of 22.12.1987 .
Can someone tell me how to make it to get the exact date?
regards,
gicio
I will get the date from now (DateTime.Now is 18.12.2003) but exact
16 years ago (18.12.1987).
when I make something like this:
//we set min. employee age to 16 years
TimeSpan minEmployeeAge = new TimeSpan(5840,0,0,0);
DateTime maxDate = DateTime.Now - minEmployeeAge;
maxDate return me the date of 22.12.1987 .
Can someone tell me how to make it to get the exact date?
regards,
gicio