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 сultureInfo As CultureInfo _
    ) As String
    public string ToString( 
       CultureInfo сultureInfo
    )

    Parameters

    сultureInfo

    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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also