Parses a string date in ISO YYYY-MM-DD format (the format
used by XML schema's date type), or YYYYMMDD format.
Namespace: DegreeDays.TimeAssembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax public static Day FromString(
string s
)
Public Shared Function FromString (
s As String
) As Day
Parameters
- s String
- A string representation of a date, in YYYY-MM-DD or
YYYYMMDD format with an optional '+' in front.
Return Value
DayA
Day corresponding to the date represented by
s.
Exceptions Remarks
Both formats can optionally have a '+' in front - XML schema doesn't allow the
'+', but ISO does.
See Also