It partially works and i know the issue lies with the date formats. Will try and work something out to get this sorted.