2
Answers

How to subtract a date to another date?

Carlos Sanchez

Carlos Sanchez

20y
3.3k
1
I have problem with the DateTime data type, I have tried different ways but I can't subtract a date to another date, eg: I want to know how many years, months, days, hours, minutes and seconds are missing to january 1st 2010 00:00 hrs. Any1 have any idea? thanx in advance.
Answers (2)
0
kshama parashar

kshama parashar

NA 41 0 14y
<asp:Panel Runat="Server"
  Font-Name="Times New Roman"
  Font-Size="11pt"
  Width="300px"
  Height="100px"
  BorderStyle="Solid"
  BorderWidth="1px"
  ScrollBars="Auto"
  Style="padding:10px">