Hello @yatishmadhav
Thanks for posting and I'm sorry to hear that happened. There isn't a way to edit the time on a recorded workout. The best workaround is to delete the erroneous recording and add the workout manually:
Please follow these steps to upload a manual activity:
Using our website:
1. Log into your Strava account at www.strava.com
2. Hover over the orange plus sign at the top right corner of the page
3. Click on "Add manual entry"
4. Select the activity "Sport Type" and fill out the fields listed
5. Click "Create" to complete your upload
Using the Android app:
1. Go to the Feed screen
2. Click the "+" button in the bottom-right
Directions can also be found in our help center article: Uploading Manual Activities
I hope that's helpful and thanks again for your post.