function to convert timestamp to datetime in form of %Y-%m-%d %H:%M:%S
added to sharethetravels.functions