Those values are ‘epoch’ times and usually represent seconds. The ubiquitous Pandas to_datetime method can help getting that into a datetime value. That method expects epoch times to be in nanoseconds by default. Most of the epoch time values are in UTC milliseconds or seconds. It appears the values here are seconds. So, specify the unit to be s. Otherwise, specify it to be ms. Something like this
If you have an entire column to convert, it’s very similar. Just pass the whole column. Here we assume the dataframe column with epoch times is named ‘Today’
All that said, several of the Alpaca functions include a df method. You can simply append that method which will then return a dataframe with a datetime index (automatically converting that ‘weird’ epoch time). Something like this
Notice the .df method at the end. This will create a dataframe with the epoch times already converted. Not all functions support that .df method but generally it’s worth a try.