Added location API call and timestamp->date