# Extract timestamp from get\_bars

**URL:** <https://forum.alpaca.markets/t/extract-timestamp-from-get-bars/10563>\
**Category:** Alpaca Market Data\
**Created:** [September 10, 2022, 1:52am UTC](https://forum.alpaca.markets/t/extract-timestamp-from-get-bars/10563 "2022-09-10T01:52:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sheep](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@sheep](https://forum.alpaca.markets/u/sheep)\
**Post date:** [September 10, 2022, 1:52am UTC](https://forum.alpaca.markets/t/extract-timestamp-from-get-bars/10563/1 "2022-09-10T01:52:45Z")

</div>

how do I extract the timestamp to a list from the output of get\_bars?

```
                         open high ... trade_count vwap

```

timestamp …  
2022-08-11 06:36:00+00:00 169.49 169.49 … 8 169.477950  
2022-08-11 08:00:00+00:00 169.00 169.33 … 136 169.133025  
2022-08-11 08:02:00+00:00 169.27 169.27 … 29 169.256655  
2022-08-11 08:03:00+00:00 169.29 169.29 … 23 169.274014  
2022-08-11 08:04:00+00:00 169.20 169.30 … 59 169.253096  
… … … … … …  
2022-08-12 23:55:00+00:00 171.89 171.89 … 7 171.889828  
2022-08-12 23:56:00+00:00 171.89 171.89 … 18 171.889023  
2022-08-12 23:57:00+00:00 171.88 171.88 … 20 171.876099  
2022-08-12 23:58:00+00:00 171.88 171.90 … 35 171.869884  
2022-08-12 23:59:00+00:00 171.85 171.90 … 42 171.876487
