.Net Framework > v1.1.4322 > System > DateTime DateTime
Category
Structure
Description
Represents an instant in time, typically expressed as a date and time of day.
Assembly
mscorlib
Character
sealed, public
Implements
IComparable, IFormattable, IConvertible, ISerializable, System.IComparable<DateTime>, System.IEquatable<DateTime>
Contstructors
DateTime(Int32,Int32,Int32)
DateTime(Int32,Int32,Int32,Calendar)
DateTime(Int32,Int32,Int32,Int32,Int32,Int32)
DateTime(Int32,Int32,Int32,Int32,Int32,Int32,DateTimeKind)
DateTime(Int32,Int32,Int32,Int32,Int32,Int32,Calendar)
DateTime(Int32,Int32,Int32,Int32,Int32,Int32,Int32)
DateTime(Int32,Int32,Int32,Int32,Int32,Int32,Int32,DateTimeKind)
DateTime(Int32,Int32,Int32,Int32,Int32,Int32,Int32,Calendar)
DateTime(Int32,Int32,Int32,Int32,Int32,Int32,Int32,Calendar,DateTimeKind)
DateTime(Int64)
DateTime(Int64,DateTimeKind)
Properties
Date
Day
DayOfWeek
DayOfYear
Hour
Kind
Millisecond
Minute
Month
Now
Second
Ticks
TimeOfDay
Today
UtcNow
Year
Methods
Add(TimeSpan)
AddDays(Double)
AddHours(Double)
AddMilliseconds(Double)
AddMinutes(Double)
AddMonths(Int32)
AddSeconds(Double)
AddTicks(Int64)
AddYears(Int32)
Compare(DateTime,DateTime)
CompareTo(DateTime)
CompareTo(Object)
DaysInMonth(Int32,Int32)
Equals(DateTime)
Equals(DateTime,DateTime)
Equals(Object)
FromBinary(Int64)
FromFileTime(Int64)
FromFileTimeUtc(Int64)
FromOADate(Double)
GetDateTimeFormats()
GetDateTimeFormats(Char)
GetDateTimeFormats(Char,IFormatProvider)
GetDateTimeFormats(IFormatProvider)
GetHashCode()
GetTypeCode()
IsDaylightSavingTime()
IsLeapYear(Int32)
op_Addition(DateTime,TimeSpan)
op_Equality(DateTime,DateTime)
op_GreaterThan(DateTime,DateTime)
op_GreaterThanOrEqual(DateTime,DateTime)
op_Inequality(DateTime,DateTime)
op_LessThan(DateTime,DateTime)
op_LessThanOrEqual(DateTime,DateTime)
op_Subtraction(DateTime,DateTime)
op_Subtraction(DateTime,TimeSpan)
Parse(String)
Parse(String,IFormatProvider)
Parse(String,IFormatProvider,DateTimeStyles)
ParseExact(String,String,IFormatProvider)
ParseExact(String,String,IFormatProvider,DateTimeStyles)
ParseExact(String,String[],IFormatProvider,DateTimeStyles)
SpecifyKind(DateTime,DateTimeKind)
Subtract(DateTime)
Subtract(TimeSpan)
ToBoolean()
ToByte()
ToChar()
ToDateTime()
ToDecimal()
ToDouble()
ToInt16()
ToInt32()
ToInt64()
ToSByte()
ToSingle()
ToType()
ToUInt16()
ToUInt32()
ToUInt64()
GetObjectData()
ToBinary()
ToFileTime()
ToFileTimeUtc()
ToLocalTime()
ToLongDateString()
ToLongTimeString()
ToOADate()
ToShortDateString()
ToShortTimeString()
ToString()
ToString(IFormatProvider)
ToString(String)
ToString(String,IFormatProvider)
ToUniversalTime()
TryParse(String,DateTime@)
TryParse(String,IFormatProvider,DateTimeStyles,DateTime@)
TryParseExact(String,String,IFormatProvider,DateTimeStyles,DateTime@)
TryParseExact(String,String[],IFormatProvider,DateTimeStyles,DateTime@)
Fields
MaxValue
MinValue
Tags
01800F4D53, 02E3ABA98D, 0311417F6F
Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples