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 sql 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 .net that "represents an instant in time, typically expressed as a date and time of day."
In Joda-Time, a popular java library, DateTime is a class serving similar purpose.
In python 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 php the DateTime class is a "representation of date and time".
Tag Usage
- Use on questions about reviewing code involving date/time logic.