Add support for "set date time" operation; fix Linux build (reported by wawachief).

Signed-off-by: Lionel Debroux <lionel_debroux@yahoo.fr>
Tested-by: Xavier "critor" Andréani <andreanx@hotmail.com>