unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* calculating relative time until a day of week
@ 2024-07-06 20:38 Christopher Howard
  2024-07-07  5:10 ` tomas
  2024-07-08  1:05 ` Michael Heerdegen via Users list for the GNU Emacs text editor
  0 siblings, 2 replies; 4+ messages in thread
From: Christopher Howard @ 2024-07-06 20:38 UTC (permalink / raw)
  To: Help Gnu Emacs Mailing List

Hi, I want to make an Emacs timer that runs a command once a week, every Tuesday at 4am. I could do this with run-at-time and a relative time, but I would need to calculate how many seconds until Tuesday 4am. Is there an easy way to calcuate that?

-- 
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 http://gem.librehacker.com

בראשית ברא אלהים את השמים ואת הארץ

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-08 18:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-06 20:38 calculating relative time until a day of week Christopher Howard
2024-07-07  5:10 ` tomas
2024-07-08  1:05 ` Michael Heerdegen via Users list for the GNU Emacs text editor
2024-07-08 18:00   ` Emanuel Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).