EDIT: Figured it out. I'll post the method a little later, in case anyone else needs it.

I need to save the individual portions of a date that was selected from the Calendar. So when I pick a date on the Calendar object, I can save it like this to an INI:

[Date]
day=21
month=4
year=2015

I haven't been able to figure it out. Can anyone help?