[This is preliminary documentation and is subject to change.]
Subtracts the specified period from the date and time. Friendly alternative to operator-().

C# | Visual Basic | Visual 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 )

- localDateTime (LocalDateTime)
- Initial local date and time
- period (Period)
- Period to subtract

The resulting local date and time
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)