✅ Set TimeZone for request duration in ASP.NET Core
Hey,
I am generating PDFs on the server with
Question:
How do I convert the
Should I just send the browsers time zone as query parameter or are there better approaches?
I am generating PDFs on the server with
DateTime objects. The problem is that my clients come from several different time zones and want the PDF to be generated in their own time zone.Question:
How do I convert the
DateTime object to a string using the time zone of the client?Should I just send the browsers time zone as query parameter or are there better approaches?