*Fixed getTime() which now contains milliseconds to fix exception of
input:milliseconds < 1000