Examples (see User Guide)
// Instant represents time from epoch Instant now = SystemClock.Instance.Now; // Convert an instant to a ZonedDateTime ZonedDateTime nowInIsoUtc = now.InUtc(); // Create a duration Duration duration = Duration.FromMinutes(3); // Add it to our ZonedDateTime ZonedDateTime thenInIsoUtc = nowInIsoUtc + duration; // Timezone support (multiple providers) var london = DateTimeZoneProviders.Tzdb["Europe/London"]; // Timezone conversions var localDate = new LocalDateTime(2012, 3, 27, 0, 45, 00); var before = london.AtStrictly(localDate);
Find out more about Noda Time on our group mailing list or our blog.
For more specific "How do I solve problem X?" questions, please ask on Stack Overflow using the nodatime tag.
It is recommended that you read at least the first few pages of user's guide before starting to develop using Noda Time.
You can also check out the API reference.
Developers interested in contributing to Noda Time itself should also check out the developer guide and current roadmap.
Our continuous build is hosted by JetBrains on CodeBetter
Install-Package NodaTime
Install-Package NodaTime.Testing
Noda Time aims to create a library which is powerful and easy to use correctly.