Model date converting

Added PCS for TimeSlot.
Added long converting (Will be removed)
Added duration and end time calculation.