Hi first let me say I am very new to this both infopath and any sort of coding so be nice.
I am creating a check form which requires the time taken to complete the task shown at the bottom of the form, I have managed to get it to work if the person filling in the form enters the start and end times manually, however to stop people putting any times my boss wants the start and end times entered when a button is clicked, again I have worked out how to do that by using the button to set the start and end time fields with the now() function.
The problem I have is adding the buttons breaks my expression for calcuating the time, as this is expecting the 'Time' format *09:46, unfortunately the now() function picks up the data as well and there for gives me a NaN error.
So both work perfectly OK seperatly but not when I try to combine them
Is the alternative in InfoPath to the now() function that only picks up the time and not the date?????? or does anyone have any other ideas?