Correct your syntax. It should be:
var totalWorkTime = NSDate().timeIntervalSinceDate(punchInTime)
NSDate. totalWorkTime NSTimeInterval, Cannot invoke [operator] with an argument list of type ...

, . (x) -> y is not convertible to y

Swift - . NSDate, totalWorkTime NSTimeInterval, , NSDate NSTimeInterval. :

, , zisoft (), . , Double (NSTimeInterval), Int.