GregorianDateToString Method (String) | 
 
            Converts the value of this instance to its equivalent string
            representation using the specified format.
            
 
    Namespace: 
   AGI.Foundation.Time
    Assembly:
   AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic string ToString(
	string format
)
Public Function ToString ( 
	format As String
) As String
public:
String^ ToString(
	String^ format
)
member ToString : 
        format : string -> string 
Parameters
- format
 - Type: SystemString
A format string. 
Return Value
Type: 
StringA string representation of value of this instance as specified by 
format.
Exceptions| Exception | Condition | 
|---|
| FormatException | 
            Thrown when the length of format is 1,
            and it is not one of the format specifier characters defined for DateTimeFormatInfo, 
            or when format does not contain a valid custom format pattern. 
             | 
See Also