See a tutorial:
JavaScript Scheduler: Use Diagonally Split Cells for Check-In/Check-Out