not quite sure I understand where you are stuck. Do you have a method/function that takes time as an argument?