Date and time
Bob Sneidar
bobsneidar at iotecdigital.com
Thu Jun 6 14:54:00 EDT 2019
First of all that date cannot be converted in that format. Secondly, try convert "Jun 6 2019 09:05:21" to seconds
Bob S
> On Jun 6, 2019, at 11:40 , Glen Bojsza via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> I'm pondering the easiest way to do a linear scale based on date and time
> data.
>
> My thoughts are that if you can change 06-Jun-2019;09:05:21 to epoch
> seconds then it would possible to take all the similar timestamped data and
> change it to seconds thus using it as an "x-axis" scale for graphing
> purposes.
>
> Of course after the scale is done and the determination of the number of
> ticks used (i think it would be between 5 and 10 ) then you could reverse
> the tick marks labels from seconds back to time.
>
> I guess my difficulty is is getting 06-Jun-2019;09:05:21 converted to
> seconds. I have gone through several of the dictionary details around
> converting but have not found a solution...
>
> Any suggestions?
>
> thanks,
>
> Glen
More information about the use-livecode
mailing list