C# Tutorial DateTimeOffset

Add

  1. Add a specified number of milliseconds to the current DateTimeOffset in CSharp
  2. Add a specified number of months to the current DateTimeOffset in CSharp
  3. Add a specified number of ticks to the current DateTimeOffset in CSharp
  4. Add a specified number of whole and fractional days to the current DateTimeOffset in CSharp
  5. Add a specified number of whole and fractional hours to the current DateTimeOffset in CSharp
  6. Add a specified number of whole and fractional minutes to the current DateTimeOffset in CSharp
  7. Add a specified number of whole and fractional seconds to the current DateTimeOffset in CSharp
  8. Add a specified number of years to the DateTimeOffset in CSharp
  9. Add a specified time interval to a DateTimeOffset in CSharp
  10. Add a time interval to a DateTimeOffset in CSharp

Get

  1. Check if DateTimeOffset object represents the same point in time as a specified object in CSharp
  2. Check if DateTimeOffset represents the same point in time as a specified DateTimeOffset object in CSharp
  3. Check if DateTimeOffset represents the same time and has the same offset as a specified DateTimeOffset object in CSharp
  4. Check if two DateTimeOffset objects represent the same point in time in CSharp
  5. Get DateTimeOffset in current date and time with offset set to local time ' s offset from Coordinated Universal Time (UTC) in CSharp
  6. Get DateTimeOffset whose date and time set to current Coordinated Universal Time (UTC) and whose offset is TimeSpan.Zero in CSharp
  7. Get DateTime value that represents the date and time of the current DateTimeOffset in CSharp
  8. Get a DateTime that represents the Coordinated Universal Time (UTC) of the current DateTimeOffset in CSharp
  9. Get a DateTime value that represents the date component of the current DateTimeOffset in CSharp
  10. Get a DateTime value that represents the local date and time of the current DateTimeOffset in CSharp
  11. Get the day of the month represented by the current DateTimeOffset in CSharp
  12. Get the day of the week represented by the current DateTimeOffset object in CSharp
  13. Get the day of the year represented by the current DateTimeOffset object in CSharp
  14. Get the earliest possible DateTimeOffset value in CSharp
  15. Get the greatest possible value of DateTimeOffset in CSharp
  16. Get the hour component of the time represented by the current DateTimeOffset object in CSharp
  17. Get the millisecond component of the time represented by the current DateTimeOffset object in CSharp
  18. Get the minute component of the time represented by the current DateTimeOffset object in CSharp
  19. Get the month component of the date represented by the current DateTimeOffset in CSharp
  20. Get the number of ticks from DateTimeOffset object in clock time in CSharp
  21. Get the number of ticks of DateTimeOffset in Coordinated Universal Time (UTC) in CSharp
  22. Get the second component of the clock time represented by the current DateTimeOffset in CSharp
  23. Get the time of day for the current DateTimeOffset object in CSharp
  24. Get the time ' s offset from Coordinated Universal Time (UTC) in CSharp
  25. Get the year component of the date represented by the current DateTimeOffset in CSharp

Compare

  1. Compare DateTimeOffset and return the sequence in CSharp
  2. Compare DateTimeOffset and tells the sequence in static method in CSharp
  3. Compare DateTimeOffset object with & lt;= (less than or equal) in CSharp
  4. Compare DateTimeOffset with > (greater than) in CSharp
  5. Compare DateTimeOffset with > (greater than or equal) in CSharp
  6. Compare DateTimeOffset with & lt; (less than) in CSharp
  7. Compare two DateTimeOffset with != (not equal) in CSharp
  8. Compare two specified DateTimeOffset for equal in CSharp

Convert

  1. Convert DateTimeOffset object to a Windows file time in CSharp
  2. Convert DateTimeOffset to a DateTimeOffset object that represents the local time in CSharp
  3. Convert DateTimeOffset to a DateTimeOffset representing the Coordinated Universal Time (UTC) in CSharp
  4. Convert DateTimeOffset to string in CSharp
  5. Convert DateTimeOffset to the date and time specified by an offset value in CSharp
  6. Do an implicit conversion of a DateTime object to a DateTimeOffset object in CSharp

Create

  1. CreateDateTimeOffset from year, month, day, hour, minute, second, millisecond, and offset in CSharp
  2. Create DateTimeOffset from number of ticks and offset in CSharp
  3. Create DateTimeOffset from specified DateTime value and offset in CSharp
  4. Create DateTimeOffset from specified DateTime value in CSharp
  5. Create DateTimeOffset from specified year, month, day, hour, minute, second, and offset in CSharp
  6. Create DateTimeOffset from year, month, day, hour, minute, second, millisecond, and offset of a calendar in CSharp

Format

  1. Format DateTimeOffset by culture in CSharp
  2. Format DateTimeOffset with format string and CultureInfo in CSharp
  3. Format DateTimeOffset with standard format in CSharp
  4. Parse string to DateTimeOffset with possible formats in CSharp
  5. Try to parse string to DateTimeOffset with various possible formats in CSharp

Subtract

  1. Subtract DateTimeOffset from another DateTimeOffset and yields a time interval in CSharp
  2. Subtract a DateTimeOffset that represents a specific date and time from the current DateTimeOffset in CSharp
  3. Subtract a time interval from the current DateTimeOffset object in CSharp
  4. Subtract time interval from DateTimeOffset, and yields a new date and time in CSharp

Parse

  1. Try to parse string ( " 05/01/2014 6:00:00AM +5:00 " ) to DateTimeOffset in CSharp
  2. Try to parse string (05/01/2014 6:00:00) to DateTimeOffset in CSharp
  3. Try to parse string( " 05/01/2014 +7:00 " ) to DateTimeOffset in CSharp
  4. Try to parse string( " 05/01/2014 " ) to DateTimeOffset in CSharp
  5. Try to parse string(06/15/2014 15:15 -05:00) to DateTimeOffset in CSharp
  6. Try to parse string( " 06/15/2014 " ) to DateTimeOffset in CSharp
  7. Try to parse string( " 11:36 PM " ) to DateTimeOffset in CSharp
  8. Try to parse string( " 5/1/2014 10:00 AM -07:00 " ) to DateTimeOffset in CSharp
  9. Try to parse string( " Thu May 01, 2014 " ) to DateTimeOffset in CSharp




















Home »
  C# Tutorial »
    Data Types »




C# Data Types
Bool
Byte
Char
Decimal
Double
Float
Integer
Long
Short
String
C# Array
Array Example
Byte Array
C# Standard Data Type Format
BigInteger
Complex
Currency
DateTime
DateTimeOffset
DateTime Format Parse Convert
TimeSpan
TimeZone
Enum
Null
tuple
var