Header menu logo TDesu.FSharp

DateTime Module

Functions and values

Function or value Description

DateTime.tryParse str

Full Usage: DateTime.tryParse str

Parameters:
    str : string

Returns: DateTime option
Modifiers: inline

Parses a string as DateTime using the ambient culture, returning Some(value) or None. For text that came from a machine rather than from a person, use tryParseInv — see the note at the top of this file. The string to parse.

str : string
Returns: DateTime option

DateTime.tryParseInv str

Full Usage: DateTime.tryParseInv str

Parameters:
    str : string

Returns: DateTime option
Modifiers: inline

Parses a string as DateTime against the invariant culture. This is the one to use for machine-generated text, whose meaning must not depend on the host's locale. The string to parse.

str : string
Returns: DateTime option

DateTime.tryParseInvV str

Full Usage: DateTime.tryParseInvV str

Parameters:
    str : string

Returns: DateTime voption
Modifiers: inline

Parses a string as DateTime against the invariant culture, returning ValueSome(value) or ValueNone. The string to parse.

str : string
Returns: DateTime voption

DateTime.tryParseV str

Full Usage: DateTime.tryParseV str

Parameters:
    str : string

Returns: DateTime voption
Modifiers: inline

Parses a string as DateTime using the ambient culture, returning ValueSome(value) or ValueNone. The string to parse.

str : string
Returns: DateTime voption

Type something to start searching.