diff options
Diffstat (limited to 'init.org')
| -rw-r--r-- | init.org | 2 | 
1 files changed, 2 insertions, 0 deletions
@@ -651,6 +651,7 @@            (jao-notify msg "" (jao-data-file "clock-world-icon.png"))))        (defun jao-time-to-epoch (&optional s) +        "Transform a time string to an epoch integer in milliseconds."          (interactive)          (let ((s (or s (read-string "Time string: " (thing-at-point 'string)))))            (message "%s = %s" @@ -658,6 +659,7 @@                     (round (* 1000 (time-to-seconds (parse-time-string s)))))))        (defun jao-epoch-to-time (&optional v) +        "Transform an epoch, given in milliseconds, to a time string."          (interactive)          (let ((v (or v (read-number "Milliseconds: " (thing-at-point 'number)))))            (message "%s = %s" v  | 
