# Timezone for HistoricalBarsRequest

**URL:** <https://forum.alpaca.markets/t/timezone-for-historicalbarsrequest/11537>\
**Category:** Getting Started with Alpaca\
**Created:** [January 9, 2023, 10:12pm UTC](https://forum.alpaca.markets/t/timezone-for-historicalbarsrequest/11537 "2023-01-09T22:12:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kotharin](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/kotharin/32/4314_2.png) [@kotharin](https://forum.alpaca.markets/u/kotharin)\
**Post date:** [January 9, 2023, 10:12pm UTC](https://forum.alpaca.markets/t/timezone-for-historicalbarsrequest/11537/1 "2023-01-09T22:12:12Z")

</div>

I am using the HistoricalBarsRequest to get historical data for a few symbols. I am in the EST US timezone. I am currently calling it like this:

```auto
new HistoricalBarsRequest(symbols, TimeZoneInfo.ConvertTimeToUtc(startTime), TimeZoneInfo.ConvertTimeToUtc(endTime), BarTimeFrame.Minute)

```

I wish to get data for the symbols from 9:30 AM EST to 4PM EST. My startTime and endTime correspond to that but if I compare my bars data to the live data from that day, it doesn’t match. This is why I wanted to make sure I am passing the datetime correctly.

Thanks.

---

<div class="post-metadata">

**Author:** ![Dan\_Whitnable\_Alpaca](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.alpaca.markets/dan_whitnable_alpaca/32/1658_2.png) [@Dan\_Whitnable\_Alpaca](https://forum.alpaca.markets/u/Dan_Whitnable_Alpaca)\
**Post date:** [January 13, 2023, 1:39pm UTC](https://forum.alpaca.markets/t/timezone-for-historicalbarsrequest/11537/2 "2023-01-13T13:39:03Z")

</div>

@kotharin Two things which may help when fetching historical market data.

1. All input times are timezone aware. No need to convert to UTC. For example either 2022-01-13 09:30:00-0500 or 2022-01-13 14:30:00+0000 will work and represent 9:30 ET on 2022-01-13.

2. All returned data are timezone aware and are always UTC. Convert to ET to make it more readable if desired.
