Click or drag to resize

Extension Class

Extension for date function.
Inheritance Hierarchy
SystemObject
  Velo.Data.HelperExtension

Namespace:  Velo.Data.Helper
Assembly:  Velo.Data (in Velo.Data.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
public static class Extension

The Extension type exposes the following members.

Constructors
  NameDescription
Private methodStatic memberExtension
Top
Methods
  NameDescription
Public methodStatic memberAddTextAndCRLF
Text add a new line and add item text
Public methodStatic memberBoolToText
Convert boolean value to text "Ja" is true or "Nein" is false
Public methodStatic memberCode exampleConvertDateFromSQL
Convert SQL date include value null
Public methodStatic memberConvertDateFromString
Convert a string to date or null
Public methodStatic memberConvertDateToSQL
Convert C# date type to SQL date type
Public methodStatic memberDateWebDisplay
Date web display (example: Mo 1.12.21)
Public methodStatic memberCode exampleDateWebDisplayDateOnly
Date web display date only (example: 01.12.2021)
Public methodStatic memberDayOfWeek
Day of week example: Mo
Public methodStatic memberMonthOfYear
Label of month
Public methodStatic memberToCorrectSQLValue
Correcting SQL value for SQL WHERE clause
Public methodStatic memberToDateLetter
Date formating "dd. MMMM yyyy"
Public methodStatic memberCode exampleToDateWebFormat
Date for web formatted (yyyy-MM-dd) for web element "Input".
Public methodStatic memberToDecimal
Format decimal numbers.
Public methodStatic memberWeekOfYear
Week of year
Top
Fields
  NameDescription
Public fieldStatic memberDays
Day of week (Mo, Di, Mi, Do, Fr, Sa, So)
Public fieldStatic memberMonths
Month labels from year (Januar, Februar, ..., Dezember)
Top
See Also