libtime++: Date and time calculation