I am trying to run this in quantlib-python:
import QuantLib as ql
date = ql.Date(31, 3, 2015)
date
returning: Date(31,3,2015)
but it is supposed to return: March 31st, 2015
I am new to quantlib-python. What am I missing? Thank you.
I am using VC2015/quantlib 1.8/quantlib-swig-1.8