updated gettimestamp to include date