DateTimeCultureExtensions.

TryParseInputDateTime(IExecutionContext, string, DateTime) Method

Summary

Attempts to parse and input date using the input date culture setting.

Syntax

public static bool TryParseInputDateTime(this IExecutionContext context, string s, out DateTime result)

Parameters

Name Type Description
context IExecutionContext The execution context.
s string The string to parse.
result DateTime The resulting System.DateTime instance.

Return Value

Type Description
bool true if the input string could be parsed, false otherwise.
GitHub