This is OLE call. You need to pass values in OLE-compatible way. AFL DateTime is numeric value that private to AFL and is NOT accepted by OLE. OLE accepts only strings and OLEDATE which is totally different animal. You should just pass dates as string directly, no need to do any conversion.
AB = CreateObject( "Broker.Application" );
AW = AB.ActiveWindow;
AW.ZoomToRange( "2021/01/20 08:45:00", "2021/01/25 08:45:00" );