Function Visual Studio Code Python Getting Timestamp