Implementation of time and date functions related to 7z.

Change-Id: Icb706d829f8470d8cc3cc50925c99255cf5f2b26
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>