Add data & time functions, need to use the seconds from RTC.
Modified Ring Buffer module.

Signed-off-by: cctsao1008 <chiacheng.tsao@gmail.com>