Click or drag to resize

DateTimeParsingIsTimeSpan(String, TimeSpan) Method

Is the provided string a date/time?

Namespace: Altaxo.Serialization
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static bool IsTimeSpan(
	string s,
	out TimeSpan val
)

Parameters

s  String
The string to parse
val  TimeSpan
The value parsed (only valid if parsing was successful).

Return Value

Boolean
True if the string can successfully parsed to a DateTime object.
See Also