Create a timestamp using the given string.

Namespace: StreamBase.SB
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 11.1.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

See Also