Fixing a bug related with months

Type casting bug fix, it was saving the months like concatening two
strings, something like: 0401 instead of 05. This is fixed now.