DateTimeOffset.parseWithCulture

Overview

Parses the specified string in a culture format and returns a DateTimeOffset object.

DateTimeOffset DateTimeOffset.parseWithCulture(val: string, culture: string)

Arguments

string val

string culture

Returns

DateTimeOffset object

Remarks

If the string is not in a valid format, the method throws an exception.

Copyright © 2010 - 2023 Emakin. All rights reserved.