optimised the threads
Used proper format for date