time_parse_date_format


Description:


[ Version ( since = "3.50" ) ]
public TimeParseStatus time_parse_date_format (string value, string format, out void* out_result, out bool out_two_digit_year)

Parses value using the format saving the parsed date into out_result.

Optionally sets whether there had been used two-digit year.

Parameters:

value

a date string

format

a strftime format string to use to parse the value

out_result

return value for the parsed date

out_two_digit_year

set to true, if parsing with two-digit year, else false, but only when not null

Returns:

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


Namespace: E