I want to average a start time but this problem is giving that same kind of pain in the forehead that you get when you eat ice cream too fast.
I have a record set containing employee start times
eg.
8:00
8:15
8:05 etc.
I want to get the average start time .... seems simple enough I have been able to loop through the record sets successfully summing the hours converting them to min and averaging them as a double .. the issue is writing them to a table as a time format. If i pass an integer it drops the mins. As a double i get unexpected results .. not even close
The table field is a Date:Short time format
I have tried FormatDateTime when writing to the field
any suggestions?
Thanks in advance MaZeWorX
Remember amateurs built the ark - professionals built the Titanic
[flush]
I have a record set containing employee start times
eg.
8:00
8:15
8:05 etc.
I want to get the average start time .... seems simple enough I have been able to loop through the record sets successfully summing the hours converting them to min and averaging them as a double .. the issue is writing them to a table as a time format. If i pass an integer it drops the mins. As a double i get unexpected results .. not even close
The table field is a Date:Short time format
I have tried FormatDateTime when writing to the field
any suggestions?
Thanks in advance MaZeWorX
Remember amateurs built the ark - professionals built the Titanic
[flush]