time_parse_date_ex


Description:


[ Version ( since = "2.22" ) ]
public TimeParseStatus time_parse_date_ex (string value, tm result, bool two_digit_year)

Takes in a date string entered by the user and tries to convert it to a struct tm.

Parameters:

value

A date string.

result

Return value for the parsed date.

two_digit_year

set to TRUE, is parsing with two-digit year, else FALSE, but only when not NULL.

Returns:

An TimeParseStatus result code indicating whether value was an empty string, a valid date, or an invalid date.


Namespace: E