1
Reply

Date Time/ ASP.NET/C3/MVC/

Ask a question
I am new to web development,  and i have a web portal where user make a payment i want to store the start/End time of payment.
 
I have used datetimeoffset as it saves the GMT data with it
 
now the user will be from all over the world and i am not able think what should i do to make user know at what time they have made the transaction as when the data is stored it take the server time, suppose the server is located in US and the user is from INDIA now i wan the user to know at what local time he has made the pay.
 
i am not able to think as how can i convert the datetime saved in database to the local time of the user and how to fetch the time zone of the user.
 
PLEASE HELP

Answers (1)