Fixed error in Time encoding in KDB format