Date subtract calculator2/1/2024 That is, the value of all of its non-zero properties (such as Days or Ticks) is negative. If the date and time of the current instance is earlier than value, the method returns a TimeSpan object that represents a negative time span. For example, to subtract two months from the current date, call the AddMonths(Int32) method with a value of -2. To subtract a particular time interval from the current instance, call the method that adds that time interval to the current date, and supply a negative value as the method argument. To subtract a time interval from the current instance, call the Subtract(TimeSpan) method. The Subtract(DateTime) method determines the difference between two dates.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |