dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlTimeStamp Structure / ToString Method / ToString(CultureInfo) Method

In This Topic
    ToString(CultureInfo) Method
    In This Topic
    Converts the current PgSqlTimeStamp structure to a System.String.
    Syntax
    'Declaration
     
    Public Overloads Function ToString( _
       ByVal cultureInfo As CultureInfo _
    ) As String
    public string ToString( 
       CultureInfo cultureInfo
    )

    Parameters

    cultureInfo

    Return Value

    A System.String object.
    Remarks
    This overload uses the DateTimeFormatInfo.CurrentInfo.ShortDatePattern and DateTimeFormatInfo.CurrentInfo.LongTimePattern values. Depending on the constructor used to create the structure, the method may add the time zone.
    See Also