all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Inserting today's timestamp in Org-Mode
@ 2020-11-17 17:57 Christopher Dimech
  2020-11-17 18:09 ` Drew Adams
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Christopher Dimech @ 2020-11-17 17:57 UTC (permalink / raw)
  To: Help Gnu Emacs

How can I add today's timestamp in Org-Mode?



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

* RE: Inserting today's timestamp in Org-Mode
  2020-11-17 17:57 Inserting today's timestamp in Org-Mode Christopher Dimech
@ 2020-11-17 18:09 ` Drew Adams
  2020-11-17 18:09 ` Christopher Dimech
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Drew Adams @ 2020-11-17 18:09 UTC (permalink / raw)
  To: Christopher Dimech, Help Gnu Emacs

> How can I add today's timestamp in Org-Mode?

https://www.emacswiki.org/emacs/InsertingTodaysDate

Emacs Wiki is your friend.

As is googling:

   insert time site:emacswiki.org



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

* Re: Inserting today's timestamp in Org-Mode
  2020-11-17 17:57 Inserting today's timestamp in Org-Mode Christopher Dimech
  2020-11-17 18:09 ` Drew Adams
@ 2020-11-17 18:09 ` Christopher Dimech
  2020-11-17 18:10 ` Teemu Likonen
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Christopher Dimech @ 2020-11-17 18:09 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Gnu Emacs




> Sent: Tuesday, November 17, 2020 at 6:57 PM
> From: "Christopher Dimech" <dimech@gmx.com>
> To: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Inserting today's timestamp in Org-Mode
>
> How can I add today's timestamp in Org-Mode?

And what is the procedure to display the time as well.



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

* Re: Inserting today's timestamp in Org-Mode
  2020-11-17 17:57 Inserting today's timestamp in Org-Mode Christopher Dimech
  2020-11-17 18:09 ` Drew Adams
  2020-11-17 18:09 ` Christopher Dimech
@ 2020-11-17 18:10 ` Teemu Likonen
  2020-11-17 18:10 ` Pankaj Jangid
  2020-11-17 18:14 ` tomas
  4 siblings, 0 replies; 8+ messages in thread
From: Teemu Likonen @ 2020-11-17 18:10 UTC (permalink / raw)
  To: Christopher Dimech, Help Gnu Emacs

[-- Attachment #1: Type: text/plain, Size: 1371 bytes --]

* 2020-11-17 18:57:11+01, Christopher Dimech wrote:

> How can I add today's timestamp in Org-Mode?

Quote from info section "(org) Creating Timestamps":


    8.2 Creating Timestamps
    =======================

    For Org mode to recognize timestamps, they need to be in the specific
    format.  All commands listed below produce timestamps in the correct
    format.

    ‘C-c .’ (‘org-time-stamp’)
         Prompt for a date and insert a corresponding timestamp.  When point
         is at an existing timestamp in the buffer, the command is used to
         modify this timestamp instead of inserting a new one.  When this
         command is used twice in succession, a time range is inserted.

         When called with a prefix argument, use the alternative format
         which contains date and time.  The default time can be rounded to
         multiples of 5 minutes.  See the option
         ‘org-time-stamp-rounding-minutes’.

         With two prefix arguments, insert an active timestamp with the
         current time without prompting.

    ‘C-c !’ (‘org-time-stamp-inactive’)
         Like ‘C-c .’, but insert an inactive timestamp that does not cause
         an agenda entry.

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 4E1055DC84E9DFF613D78557719D69D324539450

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

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

* Re: Inserting today's timestamp in Org-Mode
  2020-11-17 17:57 Inserting today's timestamp in Org-Mode Christopher Dimech
                   ` (2 preceding siblings ...)
  2020-11-17 18:10 ` Teemu Likonen
@ 2020-11-17 18:10 ` Pankaj Jangid
  2020-11-17 18:14 ` tomas
  4 siblings, 0 replies; 8+ messages in thread
From: Pankaj Jangid @ 2020-11-17 18:10 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Gnu Emacs

Christopher Dimech <dimech@gmx.com> writes:

> How can I add today's timestamp in Org-Mode?

`M-x org-time-stamp' which is bound to `C-c .'



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

* Re: Inserting today's timestamp in Org-Mode
  2020-11-17 17:57 Inserting today's timestamp in Org-Mode Christopher Dimech
                   ` (3 preceding siblings ...)
  2020-11-17 18:10 ` Pankaj Jangid
@ 2020-11-17 18:14 ` tomas
  2020-11-17 18:37   ` Christopher Dimech
  4 siblings, 1 reply; 8+ messages in thread
From: tomas @ 2020-11-17 18:14 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Gnu Emacs

[-- Attachment #1: Type: text/plain, Size: 364 bytes --]

On Tue, Nov 17, 2020 at 06:57:11PM +0100, Christopher Dimech wrote:
> How can I add today's timestamp in Org-Mode?

C-c .  (it runs the command org-time-stamp)

To find that out, you can do `C-h a' and then time.*stamp (it is a
bit unfortunate for discoverability that timestamp is sometimes
spelt `timestamp' and sometimes `time-stamp' in commands).

Cheers
-- t

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: Inserting today's timestamp in Org-Mode
  2020-11-17 18:14 ` tomas
@ 2020-11-17 18:37   ` Christopher Dimech
  2020-11-17 20:30     ` tomas
  0 siblings, 1 reply; 8+ messages in thread
From: Christopher Dimech @ 2020-11-17 18:37 UTC (permalink / raw)
  To: tomas; +Cc: Help Gnu Emacs

Have simply done "M-x today" and I got

<2020-11-17 T19:34:33>

Is this documented somewhere? Is it possible to get the Week-Number?


> Sent: Tuesday, November 17, 2020 at 7:14 PM
> From: tomas@tuxteam.de
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: Inserting today's timestamp in Org-Mode
>
> On Tue, Nov 17, 2020 at 06:57:11PM +0100, Christopher Dimech wrote:
> > How can I add today's timestamp in Org-Mode?
>
> C-c .  (it runs the command org-time-stamp)
>
> To find that out, you can do `C-h a' and then time.*stamp (it is a
> bit unfortunate for discoverability that timestamp is sometimes
> spelt `timestamp' and sometimes `time-stamp' in commands).
>
> Cheers
> -- t
>



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

* Re: Inserting today's timestamp in Org-Mode
  2020-11-17 18:37   ` Christopher Dimech
@ 2020-11-17 20:30     ` tomas
  0 siblings, 0 replies; 8+ messages in thread
From: tomas @ 2020-11-17 20:30 UTC (permalink / raw)
  To: Christopher Dimech; +Cc: Help Gnu Emacs

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]

On Tue, Nov 17, 2020 at 07:37:09PM +0100, Christopher Dimech wrote:
> Have simply done "M-x today" and I got
> 
> <2020-11-17 T19:34:33>
> 
> Is this documented somewhere? Is it possible to get the Week-Number?

Hm. Doesn't work for me. The function must be a present by a package
I don't have :-)

Just query the function's docstring -- then you might see its
whereabouts:

  C-h f today

Cheers
 - t

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2020-11-17 20:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-17 17:57 Inserting today's timestamp in Org-Mode Christopher Dimech
2020-11-17 18:09 ` Drew Adams
2020-11-17 18:09 ` Christopher Dimech
2020-11-17 18:10 ` Teemu Likonen
2020-11-17 18:10 ` Pankaj Jangid
2020-11-17 18:14 ` tomas
2020-11-17 18:37   ` Christopher Dimech
2020-11-17 20:30     ` tomas

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.