FixWins.com
  • Csharp
  • Contact Us









0 Coding examples: DateTime Year System Csharp code examples
  • Is Leap Year
  • For a given datetime instance returns a new datetime, representing the end of current day.
  • For a given datetime instance returns a new datetime, representing the start of day.
  • For a given datetime instance returns a new datetime, representing the previous day from the current date.
  • For a given datetime instance returns a new datetime, representing the next day from the current date.
  • For a given datetime instance returns a new datetime, representing the end of current month.
  • For a given datetime instance returns a new datetime, representing the start of month.
  • For a given datetime instance returns a new datetime, representing the previous month from the current date.
  • For a given datetime instance returns a new datetime, representing the next month from the current date.
  • A DateTime extension method that return a DateTime of the last day of the month with the time set to "23:59:59:999". The last moment of the last day of the month. Use "DateTime2" column type in sql to keep the precision.
  • Returns first day of the previous year.
  • Returns first day of the year.
  • Returns last day of the previous year.
  • Returns last day of the year.
  • Is Leap Year
  • get datetime day month year format
  • For a given datetime instance returns a new datetime, representing the end of current year.
  • Determines whether two object instances represent the same date (have same year/month/day values).
  • For a given datetime instance returns a new datetime, representing the start of year.
  • For a given datetime instance returns a new datetime, representing the previous year from the current date.
  • For a given datetime instance returns a new datetime, representing the next year from the current date.
  • To Month Year
  • First Date Of Year
  • Last Date Of Year
  • Days From Beginning Of Year Till
  • Calculates the years of service
  • Finds the first day of year of the specified day.
  • Returns an indication whether the year passed as method parameter is a leap year
  • Finds the last day of the year for the selected day's year.
  • Get Week Of Year
  • To Year End
  • To Year Start
  • This method returns date at the end of the month. The year used to return the start date and end date The month to return the start date and end date
  • Year Of First Day
  • Year Of Last Day
  • Get Iso Week Of Year
  • Method for getting previous year
  • DateTime From Year Month Day
  • Get Date From Day Of Year
  • To String Year First
  • Get Hijri Year
  • Gets the Umm Al Qura Year.
  • The time delta (in years) between the given start and end dates
  • A DateTime extension method that return a DateTime of the last day of the year with the time set to "23:59:59:999". The last moment of the last day of the year. Use "DateTime2" column type in sql to keep the precision.
  • Days In Year
  • Last Day Of Year
  • First Day Of Year
  • Years Between
  • Returns a DateTime representing the specified day in April in the specified year.
  • Returns a DateTime representing the specified day in September in the specified year.
  • Returns a DateTime representing the specified day in October in the specified year.
  • Returns a DateTime representing the specified day in November in the specified year.
  • Returns a DateTime representing the specified day in May in the specified year.
  • Returns a DateTime representing the specified day in March in the specified year.
  • Returns a DateTime representing the specified day in June in the specified year.
  • Returns a DateTime representing the specified day in July in the specified year.
  • Returns a DateTime representing the specified day in January in the specified year.
  • Returns a DateTime representing the specified day in February in the specified year.
  • Returns a DateTime representing the specified day in December in the specified year.
  • Returns a DateTime representing the specified day in August in the specified year.
  • returns how long something took in years, months, or days
  • Start Of Year
  • Returns the LAST possible time unit for provided YEAR in dateTime
  • Returns the FIRST possible time unit for provided YEAR in dateTime
  • Get Short Year
  • The days in year.
  • Calculate Age in years based on provided DateTime
  • To Year Month Day Format
  • The total years.
  • Add Years
  • Compare Year Month
  • Age In Years
  • Round To Year
  • To Year Month Day Hour Minute Second Format

Coding examples

0 Custom Type System
  • access level
  • Anonymous Types
  • AppDomain
  • as
  • Assembly
  • Attribute
  • Box Unbox
  • class
  • Constant
  • Constructor
  • delegate
  • dynamic type
  • Enum
  • Event
  • Exception
  • Extension Methods
  • Field
  • Finalizer
  • Generics
  • Indexer
  • Inheritance
  • Inner Type
  • interface
  • is
  • Lambda
  • Local Method
  • Method
  • Method Parameter
  • nameof
  • namespace
  • Object Initializer
  • Operator Overloading
  • overload
  • Partial
  • Polymorphism
  • Property
  • read only
  • static
  • struct
  • this
  • try catch finally
0 Data Structure Algorithm System
  • Factorial
  • Search
  • Stack
  • Tree
0 Database System
  • Connection
  • LINQ Query
  • ODBC
  • SQL Command
0 File IO System
  • Binary File
  • Directory
  • File
  • File Command
  • FileStream
  • GZip
  • Path
  • Permission
  • Serialization
  • String Reader Writer
0 Language Basics System
  • Array
  • boolean
  • char
  • Console
  • continue
  • Data Type Cast
  • Data Type Format
  • Date Time
  • decimal
  • default
  • do while
  • double
  • Float
  • for
  • for each
  • goto
  • if
  • int
  • Null Operator
  • Nullable
  • Number
  • Operator
  • Preprocessor
  • Random
  • ref
  • Regex
  • string
  • StringBuilder
  • switch
  • Tuple
  • Variable
  • while
0 LINQ System
  • Group By
  • IEnumerable
  • Projection
  • Query Array
  • Select
  • where
0 Network System
  • IP Address
  • Network Interface
  • URL
  • Web
0 Operating System System
  • Diagnostics
  • Environment
  • Process
  • Windows
0 Reflection System
  • Attribute
  • Member
0 Security System
  • Hash
  • MD5
  • Password
0 System System
  • Array Compare
  • Array Convert
  • Array Create
  • Array Dimension
  • Array Element
  • Array Element Add
  • Array Enumerate
  • Array Equal
  • Array Find
  • Array Index
  • Array Null Element
  • Array Operation
  • Array Search
  • Array Shift
  • Array Shuffle
  • Array Slice
  • Array Sort
  • Array Split
  • Array String
  • Attribute
  • Bit
  • Boolean
  • Byte
  • Byte Array
  • Char
  • Char Unicode
  • Converter
  • DateTime Calculate
  • DateTime Compare
  • DateTime Convert
  • DateTime Day
  • DateTime Diff
  • DateTime Format
  • DateTime Hour
  • DateTime Local
  • DateTime Minute
  • DateTime Month
  • DateTime Parse
  • DateTime Quarter
  • DateTime Second
  • DateTime Time
  • DateTime Timestamp
  • DateTime Timezone
  • DateTime Unix
  • DateTime UTC
  • DateTime Week
  • DateTime Year
  • DateTimeOffset
  • Decimal
  • Double
  • Enum
  • Exception
  • Hash
  • Hex
  • IComparable
  • Int32
  • Int64
  • Math Convert
  • Math Easing Function
  • Math Geometry
  • Math Number
  • Math Statistics
  • Math Vector
  • Nullable
  • Object
  • Random
  • String Algorithm
  • String ASCII
  • String Base
  • String Base32
  • String Base64
  • String Case
  • String Contain
  • String Convert
  • String Encode Decode
  • String Endian
  • String Escape
  • String Format
  • String HTML
  • String Join
  • String Match
  • String New Line
  • String Number
  • String Padding
  • String Parse
  • String Quote
  • String Repeat
  • String Replace
  • String Reverse
  • String Search
  • String Shorten
  • String Split
  • String Start End
  • String Strip
  • String SubString
  • TimeSpan
  • Tuple
  • Type
0 System.Collections System
  • ICollection
  • IDictionary
  • IEnumerable
0 System.Collections.Generic System
  • ICollection
  • IDictionary
  • IEnumerable
  • IList
  • ISet
  • List
0 System.Data System
  • DataTable
0 System.Drawing System
  • Color
  • Color Brightness
  • Color Calculation
  • Color Convert
  • Color HSV
  • Color RGB
  • Graphics
  • Image Convert
  • Image Effect
  • Image Operation
  • Image Size
  • JPEG
0 System.Drawing.Imaging System
  • Bitmap
0 System.Globalization System
  • Chinese
  • English
0 System.IO System
  • BinaryWriter
  • CSV File
  • DirectoryInfo
  • File Copy
  • File Name
  • File Path
  • File Size
  • File Time
  • FileStream
  • Hex
  • MemoryStream
  • Stream
  • StreamWriter
0 System.Net System
  • IP Address
0 System.Reflection System
  • Attribute
  • Constructor
  • ConstructorInfo
  • Enum
  • FieldInfo
  • Interface
  • Member
  • MethodInfo
  • Modifier
  • PropertyInfo
0 System.Security.Cryptography System
  • ASN
  • Certificate
  • CRC
  • DES
  • Encrypt Decrypt
  • Hash
  • HMACMD5
  • MD5
  • Password
  • SHA1
0 System.Text.RegularExpressions System
  • Match Number
  • Match String
0 System.Windows.Forms System
  • Dialog
0 System.Windows.Media.Imaging System
  • BitmapSource
0 System.Xml System
  • XML Attribute
  • XML Child
  • XML DataSet
  • XML Document
  • XML Element
  • XML File
  • XML Format
  • XML Namespace
  • XML Node
  • XML Reader
  • XML Schema
  • XML Serialization
  • XML String
  • XML Writer
0 Thread Asynchronous System
  • Mutex
  • Parallel
  • Producer Consumer
  • Synchronize
0 XML System
  • XML Document
  • XML LINQ
  • XML Serialization