Date and Time Fundamentals in .NET and SQL Server (Udemy.com)
Learn how to work with date and time values properly: including DateTime and NodaTime (Noda Time).
Created by: Engineer Spock
Last updated July 2020
What you will learn
- Use date & time related types from BCL properly
- Use Noda Time for writing reliable code
- Avoid common mistakes
- Apply best practices of working with date and time values
How it compares
Against the other 194 rated Udemy courses in C# on CourseDuck:
- Rating4.4 out of 5higher than 38% of them
- Reviews64#163 of 195 by number of reviews
- Length3.4 hoursshorter than 70% of them
- Last updatedJuly 2020earlier than 61% of them
Course Description
Teaching Approach
No fluff, no ranting, no beating the air. I esteem your time. The course material is succinct, yet comprehensive. All the important concepts are covered. Particularly important topics are covered in-depth. For absolute beginners, I offer my help on Skype absolutely free, if requested.
Take this course, and you will be satisfied.
Build a solid foundation of working with Date and Time with this course
Almost all the software works with date and time in one form or another. Some programs, of course, need to work with date and time more than other. However, date and time hide many pitfalls even in very simple scenarios. We all know that security and logging are regular aspects of almost any program. There is a wise phrase that sounds like: “Developers recall about security when it is too late.” The same can be said about date and time. Most developers don’t even imagine how many bugs are hiding behind the simple face of date and time. Those bugs are sitting in programs and waiting for their moment to blow up your production code causing very unfortunate repercussions. That’s why working with date and time is the full-fledged and very important aspect of software development.
Have you watched magnificent enlightening TV Shows by BBC? This course in some parts is like those BBC shows, because you’ll learn many interesting surprising facts. Besides, being familiar with peculiarities of working with date and time, you can write much more reliable and maintainable applications.
Content and Overview
This course is aimed at all kind of developers. It provides solid theoretical base reinforced by practical material.
We start with basics of date and time. I’ll show you some real cases when bugs related to date and time caused unpleasant consequences, event deaths of people. You’ll learn why the hell Gregorian calendar was introduced, why the 5th of October 1582 doesn’t exist at all. And did you know that actually a minute can last more than 60 seconds? Yes, you heard that, a minute can last more than 60 seconds. You’ll learn what is UTC, GMT, what is the difference between them and how time gets synchronized between computers all over the world. And by the way, what is time at all, how humanity measures it? After that, you’ll be introduced to the concept of time zones, you’ll learn about different standards that regulate date and time formatting. You’ll learn what is Epoch Time and Unix Time. Finally, you’ll understand the difference between different date-time scopes and perspectives.
The next section is dedicated to Time Zones where you’ll learn about daylight saving time and different very odd case with time transitions back and forth. I’ll give you a full definition of a time zone. You’ll learn more about providers of time zone information: IANA and Microsoft. You’ll learn many interesting facts and what fallacies exist about time zones.
The third section is all about date and time related types from BCL in .NET. You’ll learn about DateTime, DateTimeOffset, TimeZoneInfo, TimeSpan, Calendars and Stopwatch. I’ll show you that DateTime hides many pitfalls. You’ll learn that actual precision of BCL types is not equal to 100 nanoseconds as declared in the documentation. You’ll see how many calendars exist and what we can do with them. The third section reveals all the problems with the types built-in to BCL, so in the next section, you’ll learn about a third-party library called “Noda Time”.
Yes, a whole section is dedicated to the Noda Time library. You’ll learn about features provided by this library. You’ll get an overview of all the core types such as: LocalTime, LocalDate, LocalDateTime, Instant, Interval, Duration, ZonedDateTime and others. You’ll also learn how to write unit tests on code which uses date and time values with the help of Noda Time.
The whole section is dedicated to best practices of working with date and time. You’ll see some astonishing things like arithmetic on dates and problems of birthday calculation. You’ll learn the problems related to parsing and how to overcome them. I’ll show you the problems of events scheduling and what to do to avoid common mistakes. You’ll learn about date and time ranges, “intervals” is a separate peculiar topic. I’ll also show some additional best practices.
In other words, an exciting journey is waiting for you, just take it, relax and enjoy.
So, in short, the course covers the following topics:
- Date and Time Fundamentals: Gregorian calendar, UTC, GMT, Atomic Time, How Computers Store Time, NTP, Date and Time Formats based on Standards and Specifications, Epoch Time and Unit Time, Date and Time Scope and Perspective
- Time Zones: Definition (complex one), Daylight-Saving Time (DST), Providers such as IANA or TZDB and Microsoft
- Date and Time in .NET: DateTime, DateTimeOffset, TimeZoneInfo, TimeSpan, Calendars, Stopwatch and many intrinsic details.
- Noda Time: overview, core types, unit testing
- A great number of best practices of working with Date and Time: arithmetic on dates, parsing, calculating of birthdays, scheduling events, date formats, ranges and other.
In the end, we will recap what you have learned.
How long is this course: The course is around 3 hours. All are video lectures. You will be able to download all the slides and code samples used in the course.
Keywords.
- C# datetime, C# datetime format, datetime parse, C# datetimeoffset, date and time fundamentals, datetime in .net, noda time, nodatime, C# datetime now, C# string to datetime, C# tostring format, utc now,
- noda time tutorial, C# datetime tutorial, datetime C# tutorial, datetime vs nodatime, datetime vs noda time, noda time C#, noda time vs datetimeoffset, noda time vs datetime
- SQL date, SQL Server Date Functions, SQL Date Functions, DateTime SQL, SQL Server DateTime.
Instructor Details
- 4.4 Rating
64 Reviews
Engineer Spock
I'm thankful enough for that I love what I do.
I began my career as a postgraduate student participating in Microsoft ImagineCup contest.
I've been working with .NET platform since 2003. I've been professionally architecting and implementing software for nearly 7 years, primarily based on .NET platform. I'm passionate about building rich and powerful applications using modern technologies. I'm a certified specialist in Windows Applications and Service Communication Applications by Microsoft. I'm one of the coordinators of the MSK.NET User Group in Moscow.
"If it's work, we try to do less. If it's art, we try to do more." - Seth Godin.
What I can say is that software is my art.
More courses by Engineer Spock
Algorithms and Data Structures in C#: Complete Tutorial (2026)
4.6 (2,310 Reviews)
Provider: Udemy
Time: 18.5h
$64.99
Learn Enterprise WPF with XAML from Scratch (2020)
4.1 (1,503 Reviews)
Provider: Udemy
Time: 5.1h
$11.99
Software Architecture: Meta and SOLID Principles in C# (2020)
4.3 (1,310 Reviews)
Provider: Udemy
Time: 4.8h
$11.99
Master the Art of Writing Clean Code in C# (2020)
4.5 (1,231 Reviews)
Provider: Udemy
Time: 7.2h
$79.99
More C# courses
C# Developers: Double Your Coding Speed with Visual Studio (2018)
4.7 (4,035 Reviews)
Provider: Udemy
Time: 2.2h
$13.99
Object Oriented Programming with C# - Beginner to Advanced (2020)
4.7 (2,063 Reviews)
Provider: Udemy
Time: 5.6h
$64.99
Learn Game Development with C# Programming and MonoGame! (2025)
4.7 (1,094 Reviews)
Provider: Udemy
Time: 6.6h
$12.99
Reviews
By Ondrej Polansky on 3/29/2025
Really poor experience going thru the content. The author knows the topic, but it is presented in fairly confusing and rather theoretical way. Moreover, here and there are questions with like 20 secs of music waiting for you to think about the presented case, which reduces the rewatchability of the content as you really dont want to waste that time waiting again. Really, one does not need to be Counter Strike champion to pause the video when he wants to test himself! I've had some wonderful lessons from Elias in the past, but this is not one of them.
By Ben Holtzman on 1/9/2021
I love Engineer Spock's style in delivering this content. It's funny, informative, and engaging. Great job!
By Philippe Lhermie on 12/28/2020
Quite interesting, a lot of experience very well explained!
By Ivan Temelkov on 4/26/2020
There are imortant take aways from this course. Some lessons have bad audio.
By Ragnar Irak Rubio García on 2/11/2020
Excellent guy and teacher.
By Giuseppe Carfi' on 8/29/2018
utile nello sviluppo di applicazioni
By César Behr on 6/24/2018
Very good explained, much background info. I like this instructor.
By Jacob.Povar on 1/19/2018
Well structured and thoroughly explained.
By Danilo Martinelli on 12/2/2017
Ritmo del parlato lento e molto chiaro: adatto a me che non capisco benissimo l'inglese. Per il momento argomenti interessanti.
By Hitesh T Rana on 8/10/2017
Interesting course. I would recommend to anybody who wants to learn more about date and time.
Quality Score
No CourseDuck member has rated this course yet. Taken it? Give each part a thumbs up or down.
Overall Score : 88 / 100












