API Reference > ui-components > TypeConverters > DateTimeTypeConverterBase DateTimeTypeConverterBase Class DateTime Type Converter. Extends TypeConverter Extended by ShortDateTypeConverter DateTimeTypeConverter Implements SortComparer OperatorProcessor LessGreaterOperatorProcessor Methods Name Description convertFromString(value: string): undefined | Date convertToString(value?: Primitives.ShortDate): string getTimeFormat(): TimeFormat ProtectedAbstract isEqualTo(valueA: Date, valueB: Date): boolean isGreaterThan(a: Date, b: Date): boolean isGreaterThanOrEqualTo(a: Date, b: Date): boolean isLessThan(a: Date, b: Date): boolean isLessThanOrEqualTo(a: Date, b: Date): boolean isNotEqualTo(valueA: Date, valueB: Date): boolean sortCompare(valueA: Date, valueB: Date, _ignoreCase?: false | true): number Inherited methods Name Inherited from Description convertFromStringToPropertyValue(value: string, _propertyRecord?: PropertyRecord): Promise<PropertyValue> TypeConverter convertPropertyToString(_propertyDescription: PropertyDescription, value?: Primitives.Value): string | Promise<string> TypeConverter isNotNull(value: Primitives.Value): boolean TypeConverter isNull(value: Primitives.Value): boolean TypeConverter Properties Name Type Description isLessGreaterType Accessor ReadOnly boolean Inherited properties Name Type Inherited from Description isBooleanType Accessor ReadOnly boolean TypeConverter isNullableType Accessor ReadOnly boolean TypeConverter isStringType Accessor ReadOnly boolean TypeConverter Defined in ui/components/src/ui-components/converters/DateTimeTypeConverter.ts Line 18 Last Updated: 13 June, 2024