View Article

Convert Class ToDateTime() Overrides

By Xelence Documentation posted 03-04-2024 14:23

  

Note: The following methods always throw InvalidCaseException: 

  • ToDateTime(Single)
  • ToDateTime(UInt16)
  • ToDateTime(UInt64)
  • ToDateTime(SByte)
  • ToDateTime(UInt32)
  • ToDateTime(Double)
  • ToDateTime(Int32)
  • ToDateTime(Int16)
  • ToDateTime(Int64)
  • ToDateTime(Decimal)
  • ToDateTime(Char)
  • ToDateTime(Byte)
  • ToDateTime(Boolean)



ToDateTime(String)

  • Parameters:
    • Value: String
  • Return Type: DateTime
  • Description: Converts the specified string representation of a date and time to an equivalent date and time value.



ToDateTime(String, IFormatProvider)

  • Parameters:
    • Value: String
    • Provider: IFormatProvider
  • Return Type: DateTime
  • Description: Converts the specified string representation of a number to an equivalent date and time, using the specified culture-specific formatting information.



ToDateTime(Object, IFormatProvider)

  • Parameters:
    • Value: Object
    • Provider: IFormatProvider
  • Return Type: DateTime
  • Description: Converts the value of the specified object to a DateTime object, using the specified culture-specific formatting information.



ToDateTime(Object)

  • Parameters:
    • Value: Object
  • Return Type: DateTime
  • Description: Converts the value of the specified object to a DateTime object.

#Rules
0 comments
19 views