Extracting data should not be a problem as you are getting the output
The issue is related to the timezone and the below post may help in that issue.