Darshan Hiranandani : How can I format a timestamp to include timezone details when saving it?

Hey Team,

I’m Darshan Hiranandani, working on passing a date value from the frontend and saving it formatted to the user's timezone. However, I’m noticing that the date value is being saved in the same format regardless of the timezone settings I choose.

Could anyone provide suggestions or insights on the following?

  1. Timezone Handling: Why might the date value be saved in the same format despite different timezone settings?

  2. Formatting Issue: What could be causing the date value to ignore timezone formatting when saved?

  3. Data Conversion: How can I ensure that the date value is correctly formatted and saved according to the user’s timezone?

  4. Frontend to Backend: What should be checked in the data passing process from the frontend to ensure timezone information is correctly applied?

  5. Debugging Tips: Are there specific debugging steps I should follow to identify why the timezone formatting isn’t being applied as expected?

Your suggestions and insights on resolving this issue would be greatly appreciated!

Thanks!

Regards

Darshan Hiranandani

2 replies