System::DateTime::ToString method
DateTime::ToString() const method
Returns the string representation of the date and time value represented by the current object using the formatting conventions defined by the current culture.
String System::DateTime::ToString() const
ReturnValue
The string representation of the value represented by the current object
See Also
- Class String
- Class DateTime
- Namespace System
- Library Aspose.PDF for C++
DateTime::ToString(const SharedPtr<Globalization::CultureInfo>&) const method
String System::DateTime::ToString(const SharedPtr<Globalization::CultureInfo> &culture) const
See Also
- Class String
- Typedef SharedPtr
- Class CultureInfo
- Class DateTime
- Namespace System
- Library Aspose.PDF for C++
DateTime::ToString(const SharedPtr<Globalization::DateTimeFormatInfo>&) const method
String System::DateTime::ToString(const SharedPtr<Globalization::DateTimeFormatInfo> &dtfi) const
See Also
- Class String
- Typedef SharedPtr
- Class DateTimeFormatInfo
- Class DateTime
- Namespace System
- Library Aspose.PDF for C++
DateTime::ToString(const SharedPtr<IFormatProvider>&) const method
Returns a string representation of the date and time value represented by the current object using the specified format information.
String System::DateTime::ToString(const SharedPtr<IFormatProvider> &provider) const
Parameter | Type | Description |
---|---|---|
provider | const SharedPtr<IFormatProvider>& | An object representing the format information |
ReturnValue
The string representation of the value represented by the current object formatted according to format information provided by formatProvider.
See Also
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Class DateTime
- Namespace System
- Library Aspose.PDF for C++
DateTime::ToString(const String&) const method
Returns a string representation of the date and time value represented by the current object using the specified format and formatting conventions defined by the current culture.
String System::DateTime::ToString(const String &format) const
Parameter | Type | Description |
---|---|---|
format | const String& | A format string |
ReturnValue
The string representation of the value represented by the current object formatted according to format defined by format and the current culture.
See Also
- Class String
- Class DateTime
- Namespace System
- Library Aspose.PDF for C++
DateTime::ToString(const String&, const SharedPtr<Globalization::CultureInfo>&) const method
String System::DateTime::ToString(const String &format, const SharedPtr<Globalization::CultureInfo> &culture) const
See Also
- Class String
- Typedef SharedPtr
- Class CultureInfo
- Class DateTime
- Namespace System
- Library Aspose.PDF for C++
DateTime::ToString(const String&, const SharedPtr<Globalization::DateTimeFormatInfo>&) const method
String System::DateTime::ToString(const String &format, const SharedPtr<Globalization::DateTimeFormatInfo> &dtfi) const
See Also
- Class String
- Typedef SharedPtr
- Class DateTimeFormatInfo
- Class DateTime
- Namespace System
- Library Aspose.PDF for C++
DateTime::ToString(const String&, const SharedPtr<IFormatProvider>&) const method
Returns a string representation of the date and time value represented by the current object using the specified format information.
String System::DateTime::ToString(const String &format, const SharedPtr<IFormatProvider> &provider) const
Parameter | Type | Description |
---|---|---|
format | const String& | A format string |
provider | const SharedPtr<IFormatProvider>& | An object representing the format information |
ReturnValue
The string representation of the value represented by the current object formatted according to format information provided by provider and format string format.
See Also
- Class String
- Typedef SharedPtr
- Class IFormatProvider
- Class DateTime
- Namespace System
- Library Aspose.PDF for C++
DateTime::ToString(const String&, std::nullptr_t) const method
String System::DateTime::ToString(const String &format, std::nullptr_t) const
See Also
- Class String
- Class DateTime
- Namespace System
- Library Aspose.PDF for C++
DateTime::ToString(std::nullptr_t) const method
String System::DateTime::ToString(std::nullptr_t) const
See Also
- Class String
- Class DateTime
- Namespace System
- Library Aspose.PDF for C++