UTC Date to Local Date
Posted: Wed Feb 13, 2013 3:24 am
Dates are stored in the database as UTC. How do I render them in the report as Local Date?
Thanks.
Thanks.
Reporting tool and data analytics tools for creating reports and dashboards in ASP.NET, ASP.NET MVC, .NET Core, Blazor, Angular, PHP, Python, WPF, JavaScript, and Java applications.
https://forum.stimulsoft.com/
Code: Select all
{TimeZoneInfo.ConvertTimeFromUtc(DataSource.ColumnName, TimeZoneInfo.FindSystemTimeZoneById("AUS Eastern Standard Time")).ToLocalTime()}