How to register CreatedDate in local time zone #269
-
Hi team! I am using Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @Kazunari001, Yes, make the following change in your public void ConfigureServices(IServiceCollection services)
{
Cleaner.DefaultDateTimeTransform = DateTimeTransform.DateTimeLocal; The Cheers... |
Beta Was this translation helpful? Give feedback.
Hi @Kazunari001,
Yes, make the following change in your
Startup.cs
project:The
Cleaner
class and correspondingClean
methods are used extensively withinCoreEx
as a means to manage/transform theDateTime
. The code above indicates that the transformation is to result in a Local kind versus the default of UTC.Cheers...