Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf.AcroForms Namespace / Field Class / FormatDateTimeValue Method
The value to format.
The format string. Cannot be a null reference (Nothing in Visual Basic) or empty.

In This Topic
    FormatDateTimeValue Method
    In This Topic
    Formats a System.DateTime value using the specified date format string.

    The syntax of the format string is similar to .NET format strings. Some examples are "m/d/yyyy" or "d-mmm-yy".

    Syntax
    'Declaration
     
    Public Shared Function FormatDateTimeValue( _
       ByVal value As System.Date, _
       ByVal format As System.String _
    ) As System.String
    public static System.string FormatDateTimeValue( 
       System.DateTime value,
       System.string format
    )

    Parameters

    value
    The value to format.
    format
    The format string. Cannot be a null reference (Nothing in Visual Basic) or empty.
    See Also