I am trying to plot a time series with DateListPlot. I want to pass it the time series that I get from the SQL database. When I get time series, the list consists of SQLDateTimeentries that I DateListPlotdo not understand.
In[24]:= t=SQLExecute[conn, "select timestamp,value from timeseries order by timestamp asc"]
Out[24]={{SQLDateTime[{2010,1,1}],12.3},{SQLDateTime[{2010,1,2}],12.51}}
Does not work:
In[25]:= DateListPlot[t]
DateListPlotrequires a Date tuple and does not understand SQLDateTime. What can I do?
source
share