Hello, im a student in the philippines and im making a simple program in vb but having problems in getting the difference of time in and time out. what is the correct syntax in getting the difference of time in and time out? I want to display the total number of hours work in a day. By subtracting the time in and time out of an employee you get the number of hours work right? My problem is how do you encode this in VB? really have no idea on this one. Any help will be appreciated..