converting QuantLib date back to mm/dd/yyyy

Posted by Pavan Shah-2 on
URL: http://quantlib.414.s1.nabble.com/converting-QuantLib-date-back-to-mm-dd-yyyy-tp13961.html

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?

thanks
Pavan

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users