03-02-2011 09:40 AM
Hi,
I'm trying to plot a graph which consists of timestamps and temperature. I initially polled the information from my gsm modem as sms text message and extracted the temperature values as numeric and timestamps as a string but to plot temperature against time i would need to have them both as numerical values and my time stamp is a string value i.e. 14:59:32. Ive tried changing the timestamp value to a numerical value but it rounds it up to 15 which isnt helpful as i have 3 15 values in now for different times 😞 . Any help would be much appreciated?
Thanks,
Hamid.
03-04-2011 02:46 AM
Hi Hamid,
I have put together the code below which seems to convert a timestamp to a numeric data type.

I hope this helps!
Best Regards,
Christian Hartshorne
NI|UK