Hi,
for date operations (easy and complex) you can refer to Design Studio SDK: Simple Date Object Component and Design Studio SDK: Real Date Component. With that, you get more flexibility in date processing. all is free as open source SDK package - SCN Design Studio SDK Development Community.
Karol