You may try io::short_date(date) at date.hpp.
On 2013-01-29 21:53, Pavan Shah wrote:
does anyone have a suggestion?thanksPavan
On Tue, Jan 29, 2013 at 8:08 AM, Pavan Shah <[hidden email]> wrote:
hello,I am trying to output dates into a csv file in one cell . However, right now they are being output as June 22nd 2012 in two different cells.I just used the ofstream object to ouput (nothing fancy).How can I convert a QuantLib date into mm/dd/yyyy and ensure that it is output in one cell?thanksPavan
------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users
--
________________________ Piter Dias [hidden email] www.piterdias.com
| Free forum by Nabble | Edit this page |