CorDateTimeStatic |
Name | Description |
---|---|
![]() | Used to specify the type of CorDateTime object. |
![]() | This enumeration represents the days of the week as used by CorDateTime and Calendars. |
Name | Description |
---|---|
![]() | Returns the maximum CorDateTime representation. |
![]() | Returns the minimum CorDateTime representation. |
![]() | Returns a CorDateTime that represents the current time on the local machine. |
![]() | Returns a CorDateTime that represents only the current date. The time portion is not present. |
![]() | Returns a CorDateTime that represents the current time with the UTC offset. |
Name | Description |
---|---|
![]() | Returns the number of days in a Gregorian calendar month. |
![]() | Returns a value indicating whether two Date or CorDateTime instances have the same date and time value. |
![]() | Creates a CorDateTime object from a 64-bit currency value. |
![]() | Creates a CorDateTime object from an operating system file timestamp. |
![]() | Returns a CorDateTime object from a FileTime value. |
![]() | Returns a CorDateTime object from milliseconds. |
![]() | Returns a CorDateTime object from a VB Date value. |
![]() | Returns a boolean indicating if the specific Gregorian year is a leap year. |
![]() | Parses a string representation of a date into a CorDateTime object. |
![]() | Creates a new CorDateTime object with the specified DateTimeKind. |
![]() | Attempts to parse a string representation of a date into a CorDateTime object. |
These methods are considered static. The CorDateTimeStatic cannot be directly instantiated. to access the methods use the CorDateTime qualifier (e.g. CorDateTime.MaxValue.)
Dim dt As CorDateTime Set dt = CorDateTime.FromOADate(#1/1/2001 8:30:00 AM#) A quicker way to create a CorDateTime object is to use the NewDate constructor. Set dt = NewDate(#1/1/2001 8:30:00 AM#)This will create a new instance of CorDateTime with the supplied date value.