Properties | Description |
---|---|
Day | Used to Get Day of the Month |
Hour | Used to Get Hour of the Date |
Year | Used to Get Year of the Date |
Today | Used to Get Current Date |
Secound | Used to Get Second of the Date |
Mounth | Used to Get Month of the Date |
Now | Used to Get Date and Time object Sets the Time and Date |
Date | Used to Get Date of this Instance |
Minute | Used to Get Minute of the Date |
DayOfWeek | Used to Gets DayofWeek |
DayOf Year | Used to Get DayofYear |
Methods | Description |
---|---|
Add (Value As TimeSpan) As DateTime | Used to Add the Specified TimeSpan to Current DateTime |
AddHours (Value) As DateTime | Used to Add the Specified Number of Hours to Current DateTime |
AddMonths (Month) As DateTime | Used to Add the Specified Number of Month to Current DateTime |
AddYears (Value) As DateTime | Used to Add the Specified Number of Years to Current DateTime |
AddDays (Value) As DateTime | Used to Add the Specified Number of Days to Current DateTime |
AddMintues (Value) As DateTime | Used to Add the Specified Number of Minutes to Current DateTime |
AddSecounds (Value) As DateTime | Used to Add the Specified Number of Seconds to Current DateTime |
Compare (t1,t2 As Date Time) As Integer | Used to Compare DateTime and Returns DateTime |
Equals (Value) As DateTime | Used to Check Whether the two DataTimes are equal or not |
CompareTo (Value) As DateTime | Used to Compare Specified DateTime Values and Returns as Integer |