diff --git a/site-lisp/db-utils.el b/site-lisp/db-utils.el index 1dc5b92..112ce51 100644 --- a/site-lisp/db-utils.el +++ b/site-lisp/db-utils.el @@ -186,8 +186,8 @@ If not given, FORMAT-STRING defaults to some ISO 8601-like format." (list (string-to-number (read-string "High (hex): ") 16) (string-to-number (read-string "Log (hex): ") 16))) (let* ((high-seconds (- high 2208992400)) ; subtract seconds between 1900-01-01 and the epoch - (l (% high-seconds 65536)) (h (lsh high-seconds -16)) + (l (% high-seconds 65536)) (u (floor (* (/ low 4294967296.0) 1e6))) (p (- low (floor (/ (* u 4294967296) 1e6))))) (message