public class CalendarEvent
public DateTime Date { get; set; }
public string Title { get; set; }
public class CalendarEventForm
public int EventHour { get; set; }
public int EventMinute { get; set; }
public string Title { get; set; }
var calendarEvent = new CalendarEvent
Date = new DateTime(2008, 12, 15, 20, 30, 0),
Mapper.CreateMap<CalendarEvent, CalendarEventForm>()
.ForMember(dest => dest.Title, opt => opt.MapFrom(src => src.Title))
.ForMember(dest => dest.EventMinute, opt => opt.MapFrom(src => src.Date.Minute))
.ForMember(dest => dest.EventHour, opt => opt.MapFrom(src => src.Date.Hour));
CalendarEventForm form = Mapper.Map<CalendarEvent, CalendarEventForm>(calendarEvent);
Console.WriteLine(form.Title);
Console.WriteLine(form.EventHour);
Console.WriteLine(form.EventMinute);