Search
DateTime.toString Method (String, Locale, Boolean)
See Also
 






Converts the value of the current DateTime object to its equivalent string representation using the specified format and locale.

Namespace: com.mindfusion.common
Package: com.mindfusion.common

 Syntax

Java  Copy Code

public String toString (
    String format,
    Locale locale,
    boolean excelFormat
)

 Parameters

format

A standard or custom date and time format string.

locale

The locale that supplies culture-specific formatting information.

excelFormat

true to accept Excel-compatible format strings, or false otherwise.

 Return Value

A string representation of value of the current DateTime object as specified by format.

 See Also