get date and time taken from photos