Why are your timestamps coming back as strings? Can you post your query? See Wiki - how to post code on this forum.