Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IFormatter Interface / Format Method / Format(DateTime,FormatOptions) Method
A System.DateTime value indicates the date to format.
A value that specifies additional format options.


In This Topic
    Format(DateTime,FormatOptions) Method
    In This Topic
    Formats the specified date to display text.
    Syntax
    'Declaration
     
    
    Overloads Function Format( _
       ByVal date As Date, _
       Optional ByVal options As FormatOptions _
    ) As FormatResult
    'Usage
     
    
    Dim instance As IFormatter
    Dim date As Date
    Dim options As FormatOptions
    Dim value As FormatResult
     
    value = instance.Format(date, options)

    Parameters

    date
    A System.DateTime value indicates the date to format.
    options
    A value that specifies additional format options.

    Return Value

    A FormatResult value represents the formatting result.
    See Also