Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Changing dates to UTC #6646


User avatar
0
ajayak created

What would be the steps required to change all dates to UTC format on Angular + .NET Core solution?


5 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ajayak

    You need to set Clock.Provider = ClockProviders.Utc;, see https://aspnetboilerplate.com/Pages/Documents/Timing

  • User Avatar
    0
    ajayak created

    Hi @ismcagdas,

    What changes do I have to make in Angular frontend? Do I need to update all dates on Angular?

  • User Avatar
    0
    ajayak created

    @ismcagdas ?

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ajayak

    No you don't have to do anything on Angular side. Have you done it ? If so, did you have a problem ?

  • User Avatar
    0
    ajayak created

    Just wanted to confirm if any change required at frontend :)