thanks for the help, i removed the $asctime from the $duration to forfill my needs the rest was perfect wink

well i normally make, protections etc, so when it comes down to using $asctime $duration etc, im pretty newbie :P

i couldnt think of a better way to do it smile and evenutally, i discovered, the codes i had worked but, it was buggy, sometimes i would get 1837hours, and it fix it, it had to be divided by 600, dunno why but it worked fine if i done that, ah well, thanks all smile