Export_GetAllUsers doesn't provide correct record for servers in some time zones

Description

the formula used to calculate time from timeutc does not support timezone with fractional hours offset (Iran Standard Time, Afghanistan Time, Chatham Island Standard Time, Cocos Island Time, Newfoundland Standard Time, ...).

Lines should be:
DECLARE @ToDate DateTime = DATEADD (n, DATEDIFF(n, GETUTCDATE(), GETDATE()), @ToDateUtc )
DECLARE @FromDate DateTime = DATEADD (n, DATEDIFF(n, GETUTCDATE(), GETDATE()), @FromDateUtc)

QA Test Plan

None

Assignee

Unassigned

Reporter

Sebastian Leupold

Story Size

Unknown

Severity

Major

Triage

New

Fixed in Build

None

Dev Owner

None

Includes Code Fix

No

Documentation Required

None

Trouble Ticket

None

Requires More Info

None

QA Story Points

None

QA Owner

None

Injected

None

Automation Required

None

Code Review Owner

None

Components

Affects versions

Priority

High
Configure