Move date / time formatting to SDive entity class.

Signed-off-by: Andrey Zhdanov <andrjufka@gmail.com>