Noda Time
Subtract Method (localDateTime, period)
NamespacesNodaTimeLocalDateTimeSubtract(LocalDateTime, Period)

[This is preliminary documentation and is subject to change.]

Subtracts the specified period from the date and time. Friendly alternative to operator-().
Declaration Syntax
C#Visual BasicVisual C++
public static LocalDateTime Subtract(
	LocalDateTime localDateTime,
	Period period
)
Public Shared Function Subtract ( _
	localDateTime As LocalDateTime, _
	period As Period _
) As LocalDateTime
public:
static LocalDateTime Subtract(
	LocalDateTime localDateTime, 
	Period^ period
)
Parameters
localDateTime (LocalDateTime)
Initial local date and time
period (Period)
Period to subtract
Return Value
The resulting local date and time

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)