Collapse All

Anypia Programmer's Documentation |  |

toString Method
DateFormatter Methods Send Feedback

Returns a string with a formatted date.

Description

There are four static variations of the toString function. The first argument can be a DateMoyr (a date with a month and year) or a boost::gregorian::date (a date with a month, day, and year). Each of those functions can have a second argument specifying the format to use. If the second argument is not present, the default format is used.

Overload List

| Name | Description
| DateFormatter::toString (boost::gregorian::date&) | Returns string with formatted date using format "month day, year".
| DateFormatter::toString (boost::gregorian::date&, std::string&) | Returns string with formatted date using specified format.
| DateFormatter::toString (DateMoyr&) | Returns string with formatted date using format "month year".
| DateFormatter::toString (DateMoyr&, std::string&) | Returns string with formatted date using specified format.

Group

DateFormatter Methods

Links
DateFormatter Methods

Copyright (c) 2010. All rights reserved.
Contents | Index | Home
What do you think about this topic? Send feedback!