Correct printDate and its test

Geeknote code presumes timestamp will be given in thousandths.
Corrected the printDate function to retain the divide-by-1000 in the
original code (lost during other recent "fix").  Made corresponding
scale by 1000 in test_print_date function in unit test.