does region affects the data comparison or ordering out put if i keep the same zone.

rajesh yadav 171 Reputation points
2020-04-07T09:46:11.723+00:00

i am using asp.net core 3.0 web api

if I keep one zone like india. and change the region to amarica or iraq, then will it affect the comparison of datetime or ordering of datetime

that means is the calendar is the same which we generally see in "eng us"

what I have noticed is the first weekday changes with the region.

so I thought I should not affect the comparison and ordering because 1st of feb will always bigger than 31st of jan. in all-region.

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,936 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. brtrach-MSFT 15,256 Reputation points Microsoft Employee
    2020-04-09T08:14:17.507+00:00

    Hi @rajesh yadav

    I assume you are using asp.net core 3.0 on an Azure Web App as that is the tag you used.

    If so, you can control the time zone your web app uses, irregardless of the data center you selected, by using the application setting of WEBSITE_TIME_ZONE

    More info here

    Does that help to address your concern about the differences in regions?

    0 comments No comments