Show / Hide Table of Contents

    StringExtensions.DateTime(this string str) Method

    .NET Standard 2.x

    Extracts a DateTime value from a string whose value is valid datetime.

    Namespace: PowerScript.Bridge

    Assembly: PowerScript.Bridge.dll

    Syntax

    public static DateTime? DateTime(this string str);
    

    Parameters

    str System.String

    A string containing a valid DateTime.

    Returns

    System.DateTime

    Returns the DateTime value stored in the str. If str does not contain a valid datetime, DateTime returns null.

    Examples

    Coming soon.

    Applies to

    .NET Standard

    2.x

    Back to top Generated by Appeon