Anypia Programmer's Documentation
ContentsIndexHome
PreviousUpNext
DateFormatter::toString Method (DateMoyr&, std::string&)

Returns string with formatted date using specified format.

C++
static std::string toString(
    const DateMoyr& dateMoyr, 
    const std::string& formatMoyr
);
Parameters 
Description 
const DateMoyr& dateMoyr 
The month and year date to format. 
const std::string& formatMoyr 
Format to use for month and year dates. Use "s" to format as "mo/year", with leading 0 if necessary. Use "n" to format as "moyear", with leading 0 if necessary. Any other format will result in a format of "month year". 

A string with date using specified format.

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