|
Method name |
Brief description |
|
Add |
The Add method increases the date by the specified value. |
|
AddDays |
The AddDays method adds the specified number of days to the initial date. |
|
AddHours |
The AddHours method adds the specified number of hours to the initial date. |
|
AddMilliseconds |
The AddSeconds method adds the specified number of seconds to the initial date. |
|
AddMinutes |
The AddMinutes method adds the specified number of minutes to the initial date. |
|
AddMonths |
The AddMonths method adds the specified number of months to the initial date. |
|
AddSeconds |
The AddSeconds method adds the specified number of seconds to the initial date. |
|
AddYears |
The AddYears adds the specified number of years to the initial date. |
|
Compose |
The Compose method creates a date and time value from the specified input parameters. |
|
ComposeDay |
The ComposeDay method creates a value of time from the specified input parameters. |
|
ComposeTimeOfDay |
The ComposeTimeOfDay method creates a value of time from the specified input parameters. |
|
DaysInMonth |
The DaysInMonth method returns the number of days in the specified month of the specified year. |
|
Difference |
The Difference method calculates difference between two dates. |
|
FromDouble |
The FromDouble method returns the date and time value obtained by conversion from the Double format. |
|
IsLeapYear |
The IsLeapYear method returns the leap year attribute. |
|
Now |
The Now returns current date and time. |
|
Parse |
The Parse method converts a string into the DateTime type without validation. |
|
Subtract |
The Subtract method decreases the date by the specified value. |
|
Today |
The Today method returns the current date. |
|
TryParse |
The TryParse method converts a string into the DateTime type with validation. |
|
Property name |
Brief description |
|
Date |
The Date property returns the date component from the current variable. |
|
Day |
The Day property returns the day of the month from the current variable. |
|
DayOfWeek |
The DayOfWeek property returns the day of the week from the current variable. |
|
DayOfYear |
The DayOfYear property returns the number of the day of the current variable starting from the beginning of the year. |
|
Hour |
The Hour property returns the number of hours from the current variable. |
|
Millisecond |
The Millisecond property returns the number of milliseconds in the current variable. |
|
Minute |
The Minute property returns the number of minutes from the current variable. |
|
Month |
The Month property returns the number of the month from the current variable. |
|
Second |
The Second property returns the number of seconds from the current variable. |
|
TimeOfDay |
The TimeOfDay property returns the time component from the current variable. |
|
ToDouble |
The ToDouble property returns the date value in the Double format. |
|
ToLongDateString |
The ToLongDateString property returns the value of the current variable converted into string type in the full date format. |
|
ToShortDateString |
Outad. Use ICultureInfo.FormatShortDate. |
|
ToString |
The ToString property returns the value of the current variable converted into string type. |
|
ToTimeString |
The ToTimeString property returns the value of the current variable converted into string type in the time format. |
|
Year |
The Year property returns the number of the year from the current variable. |