[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to subtract timestamp in elisp?
From: |
Eli Zaretskii |
Subject: |
Re: How to subtract timestamp in elisp? |
Date: |
Sat, 04 Jul 2020 14:39:01 +0300 |
> From: stardiviner <numbchild@gmail.com>
> Date: Sat, 04 Jul 2020 19:11:29 +0800
>
> I hope a function can subtract two timestamps:
>
> 00:12:35 - 00:10:45 = 00:01:50
>
> Is there some hints or suggestion like function name or Emacs library or
> package?
> Or can convert timestamp into another format then convert back to timestamp.
I think you should start with parse-time-string.