• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Dapplo.ActiveDirectory
    • ActiveDirectoryExtensions
    • ActiveDirectoryGlobals
    • AdPropertyAttribute
    • IAdObject
    • IAdObjectFactory
  • Dapplo.ActiveDirectory.Entities
    • Comparisons
    • DistinguishedName
    • Operators
    • Property
    • PropertyComparison
    • Query
    • QueryElement
    • Value
  • Dapplo.ActiveDirectory.Enums
    • AdProperties
    • ClassNames
    • ComputerProperties
    • DistinguishedNameAttributes
    • UserAccountControlFlags
    • UserProperties
  • Dapplo.ActiveDirectory.Extensions
    • AdDateTimeExtensions
    • DirectoryEntryPropertyExtensions
    • EnumExtensions
    • PropertyInfoExtension
  • Dapplo.ActiveDirectory.Finder
    • FinderAddonModule
    • Startup
  • Dapplo.ActiveDirectory.Finder.Configuration
    • IFinderTranslations
  • Dapplo.ActiveDirectory.Finder.Entities
    • IUser
  • Dapplo.ActiveDirectory.Finder.Ui.ViewModels
    • FinderViewModel
  • Dapplo.ActiveDirectory.Finder.Ui.Views
    • FinderView
  • Dapplo.ActiveDirectory.Internal
    • IAdsLargeInteger
    • IADsSecurityDescriptor
    • SimpleDictionaryProxy

Class AdDateTimeExtensions

Extensions to help with AD date time objects

Inheritance
System.Object
AdDateTimeExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dapplo.ActiveDirectory.Extensions
Assembly: Dapplo.ActiveDirectory.dll
Syntax
public static class AdDateTimeExtensions

Methods

| Improve this Doc View Source

ToDateTime(IAdsLargeInteger)

Convert an IAdsLargeInteger to a DateTime

Declaration
public static DateTime? ToDateTime(this IAdsLargeInteger largeInteger)
Parameters
Type Name Description
IAdsLargeInteger largeInteger

IAdsLargeInteger

Returns
Type Description
System.Nullable<System.DateTime>

DateTime?

| Improve this Doc View Source

ToDateTimeOffset(IAdsLargeInteger)

Convert an IAdsLargeInteger to a DateTimeOffset

Declaration
public static DateTimeOffset? ToDateTimeOffset(this IAdsLargeInteger largeInteger)
Parameters
Type Name Description
IAdsLargeInteger largeInteger

IAdsLargeInteger

Returns
Type Description
System.Nullable<System.DateTimeOffset>

DateTimeOffset?

| Improve this Doc View Source

ToLong(IAdsLargeInteger)

Convert an IAdsLargeInteger to a long

Declaration
public static long? ToLong(this IAdsLargeInteger largeInteger)
Parameters
Type Name Description
IAdsLargeInteger largeInteger

IAdsLargeInteger

Returns
Type Description
System.Nullable<System.Int64>

long?

  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © Dapplo