question

rajeshyadav-0048 avatar image
0 Votes"
rajeshyadav-0048 asked ·

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

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-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

brtrachMSFT-0711 avatar image
0 Votes"
brtrachMSFT-0711 answered ·

Hi @rajeshyadav-0048

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?

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.