VB.NET Date/Time Formatting
using System
Public Sub New(dateTime As DateTime)
Public Sub New(dateTime As DateTime, offset As TimeSpan
Public Sub New(ticks As Long, offset As TimeSpan)
Public Sub New(year As Integer, month As Integer, day As Integer, hour As Integer, minute As Integer, second As Integer, offset As TimeSpan)
Public Sub New(year As Integer, month As Integer, day As Integer, hour As Integer, minute As Integer, second As Integer, millisecond As Integer, offset As TimeSpan)
Public Sub New(year As Integer, month As Integer, day As Integer, hour As Integer, minute As Integer, second As Integer, millisecond As Integer, calendar As Calendar, offset As TimeSpan)
Internationalization (I18n) Structure Overview
The DateTimeOffset constructor initializes a new instance of the DateTimeOffset structure.
See Microsoft's
MSDN online documentation for more information.
I18n Issues
Although a DateTimeOffset value includes an offset, it is not a fully time zone-aware data structure.
While an offset from UTC is one characteristic of a time zone, it does not unambiguously identify a
time zone. Not only do multiple time zones share the same offset from UTC, but the offset of a single
time zone changes if it observes daylight saving time. This means that, as soon as a DateTimeOffset value
is disassociated from its time zone, it can no longer be unambiguously linked back to its original time zone.
General VB.NET date/time formatting information
|