Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
Timestamp..::FromString Method

Create a timestamp using the given string.

Namespace: StreamBase.SB
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 10.3.0.0

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public static Timestamp FromString(
    	string sDateString
    )

    Public Shared Function FromString ( _
    	sDateString As String _
    ) As Timestamp

    public:
    static Timestamp^ FromString(
    	String^ sDateString
    )

#### Parameters

sDateString
  String
  string containing a date/time, or an interval. date/time format: "YYYY-MM-DD HH:MM:SS.SSS+TTTT".

  For example, "2005-01-07 11:09:37.000-0500" where -0500 indicates Eastern Standard Time.

  The timezone is optional, as are the fractional seconds.

# Exceptions

Exception | Condition
--- | ---
StreamBase.SB..::..TimestampException |

# See Also

Timestamp Class
StreamBase.SB Namespace