Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

DateTime objects in many programming languages describe an instant in time, expressed as a date and time of day. Use on questions about reviewing code involving date/time logic.

Representation in different languages

  • DateTime is a type in that represents the date with the time of day with fractional seconds (accuracy: rounded to increments of .000, .003 or .007 seconds)

  • DateTime is a structure in that "represents an instant in time, typically expressed as a date and time of day."

  • In Joda-Time, a popular library, DateTime is a class serving similar purpose.

  • In it is both a similar object, and the module (library) that "supplies classes for manipulating dates and times in both simple and complex ways."

  • In the DateTime is a "representation of date and time".

Tag Usage

  • Use on questions about reviewing code involving date/time logic.