Improvement of time functions
Addition of function to handle the time data

- Addition of getTimeArray and getTimeBonds in common.js
- Addition of the time in chart page