adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / DateTimeHandling Class
Methods

In This Topic
    DateTimeHandling Class Members
    In This Topic

    The following tables list the members exposed by DateTimeHandling.

    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic) Calculates the date of Easter for a given year.  
    Public Methodstatic (Shared in Visual Basic) Combines two DateTime values, using the date from one value and the time from the other.  
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Compares two nullable DateTime values  
    Public Methodstatic (Shared in Visual Basic) Compares only the time portion of two DateTime values (hour and minute only; milliseconds are ignored).  
    Public Methodstatic (Shared in Visual Basic) Compares two nullable TimeSpan values  
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Converts a DateTime from one time zone to another  
    Public Methodstatic (Shared in Visual Basic) Gets the current time zone bias (offset from UTC)  
    Public Methodstatic (Shared in Visual Basic) Returns an integer corresponding to the day of the week for the specified date, with Sunday=1, Monday=2, ..., Saturday=7  
    Public Methodstatic (Shared in Visual Basic) Provides a readable description of a date range  
    Public Methodstatic (Shared in Visual Basic) Returns a DateTime value representing 11:59:59 PM on the source day.  
    Public Methodstatic (Shared in Visual Basic) Returns a DateTime value representing the first day of the month that includes the source date.  
    Public Methodstatic (Shared in Visual Basic) Gets a DateTime representing January 1 of the year of a specified date.  
    Public Methodstatic (Shared in Visual Basic) Returns an integer indicating what day is the first day of the month in which the specified date occurs (Sunday=1...Saturday=7).  
    Public Methodstatic (Shared in Visual Basic) Formats a number of seconds into a more readable format.  
    Public Methodstatic (Shared in Visual Basic) Formats a timespan into a readable format.  
    Public Methodstatic (Shared in Visual Basic) Determines whether the time portion of a DateTime is 11:59pm (seconds ignored)  
    Public Methodstatic (Shared in Visual Basic) Determines whether a date value is the last day of the month.  
    Public Methodstatic (Shared in Visual Basic) Indicates whether a date is the last occurrence of a given weekday in the month. For example, if the value is a Monday, this method returns True if the date is the last Monday of the month, or False if there are other Mondays after it.  
    Public Methodstatic (Shared in Visual Basic) Determines whether the time portion of a DateTime is 12:00am (seconds ignored)  
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Returns a DateTime representing the last day of the month in which the specified date occurs.  
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Gets a DateTime representing the start of the next minute  
    Public Methodstatic (Shared in Visual Basic) Indicates what occurrence of a given day of the week the specified date represents. For example, if the value is a Monday, this method determines whether it is the first, second, third, fourth, or fifth Monday of the month.  
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Returns a new DateTime value identical to the source but with seconds and milliseconds set to 0.  
    Public Methodstatic (Shared in Visual Basic) Indicates whether the specified pair of dates is January 1 to December 31 of the same year.  
    Public Methodstatic (Shared in Visual Basic) Returns the date and time in the short format for the locale  
    Public Methodstatic (Shared in Visual Basic) Returns a DateTime value representing 12:00:00 AM on the source day.  
    Public Methodstatic (Shared in Visual Basic) Returns the time portion of the specified value, in short time format.  
    Public Methodstatic (Shared in Visual Basic)Overloaded.  Returns a DateTime representing the time portion only for the specified hour and minute  
    Public Methodstatic (Shared in Visual Basic) Indicates what week of the month a value falls in.  
    Top
    Extension Methods
     NameDescription
    Public Extension Method
    Top
    See Also