Skip to content
Subjects
Code examples
Library reference
Computer Programming
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Tutorial menu
×
Subjects
Computer Programming
Maths
Planned
Chemistry
Planned
Lesson contents
Programming resources
All languages
Code examples
Library reference
Programming languages
Python
Java
C++
C
Go
PHP
Kotlin
Ruby
R
Scala
Groovy
Tutorials
/
Computer Programming
/
C++
/
Library
/
Dates and time
C++ dates and time
Calculate a delivery date or count nights between bookings.
std::strftime
std::chrono::duration_cast
std::mktime
Search this section
Search
std::chrono::duration_cast
Convert a signed delay to whole seconds
std::mktime
Calculate a delivery date across leap day
std::strftime
Print a consistent date on a receipt
All C++ library sections