Vector Time Conversion to Serial numbers

3 views (last 30 days)
Hi All,
I'm working with the financial toolbox. I'm tying to input 90 day's worth of data which takes a market sample evey 15 minutes. I've been able to get the day dates into a serial format, but I'm unable to find the corect function get the time into a serial format. This is a sample of the current time format: 80000 81500 83000 84500 90000 91500 93000 94500 100000 101500 103000 104500 110000
I would like to get this into serial so that I can concatenate the times with the dates into a single fints. Let me knowe if there is a better tool to do this with than manually as I am now.
Thanks!
Eric

Accepted Answer

Matt Tearle
Matt Tearle on 27 Feb 2011
Serial dates are in units of days, so you can add fractional days to them. So you should be able to take the time, divide by 240000, and add to the date. (Sorry if I misunderstand what you're trying to do.)

More Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!