© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
7 replies
Dusty
✅ Set TimeZone for request duration in ASP.NET Core
Hey
,
I am generating PDFs on the server with
DateTime
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
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
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Database In ASP.Net Core
C
C# / help
14mo ago
❔ ASP.NET to .net Core
C
C# / help
3y ago
Web Api request in asp.net core mvc project
C
C# / help
3y ago