I have written a function in VB calculating the difference in times elasped based on a 24 hour clock. It returns the number of hours in decimal form such as 1.5 for 1 1/2 hours. Now due to limitations with a phone integration system I need to be able to write something in VB Script. I am having problems converting the VB funtion, so if anyone can help me it would be appreciated.