Skip to content
ballmüllersolutions logo Send an email Call us

Lesson 25 of 49about 240 minutes

Module 1.3 · Data

Date and time

What you learn in this lesson

  • choose the right type for a day, a time of day, a point in time and a duration: DateOnly, TimeOnly, DateTimeOffset, TimeSpan
  • understand why DateTime without a time zone is ambiguous
  • convert points in time into the Europe/Berlin time zone and handle the clock change correctly
  • get the current time through TimeProvider and fix it in tests with FakeTimeProvider
  • add notes with a timestamp and appointments with a start and a duration to the Kladde

This lesson belongs to course K1

You will see this lesson's text and video once you have bought the course. The goals above show what you learn here.

€149.00

incl. VAT, one-time payment

Access to all of the course's lessons with their exercises, solutions and videos on this site, for 24 months from the purchase. A self-study course: no tutoring, no exams or grading by us, and no certificate.

Sign in and buy

To course K1

To the overview: K1 Getting started: programming with C#