This is the official manual for the latest Org-mode release.
Table of Contents
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
- C-c . (
Prompt for a date and insert a corresponding timestamp. When the cursor 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.
- C-c ! (
Like C-c ., but insert an inactive timestamp that will not cause
an agenda entry.
- C-u C-c .
- C-u C-c !
- Like C-c . and C-c !, but use the alternative format which
contains date and time. The default time can be rounded to multiples of 5
minutes, see the option
- C-c C-c
Normalize timestamp, insert/fix day name if missing or wrong.
- C-c < (
Insert a timestamp corresponding to the cursor date in the Calendar.
- C-c > (
Access the Emacs calendar for the current date. If there is a
timestamp in the current line, go to the corresponding date
- C-c C-o (
Access the agenda for the date given by the timestamp or -range at
point (see Weekly/daily agenda).
- S-<left> (
- S-<right> (
Change date at cursor by one day. These key bindings conflict with
shift-selection and related modes (see Conflicts).
- S-<up> (
- S-<down> (
Change the item under the cursor in a timestamp. The cursor can be on a
year, month, day, hour or minute. When the timestamp contains a time range
like ‘15:30-16:30’, modifying the first time will also shift the second,
shifting the time block with constant length. To change the length, modify
the second time. Note that if the cursor is in a headline and not at a
timestamp, these same keys modify the priority of an item.
(see Priorities). The key bindings also conflict with shift-selection and
related modes (see Conflicts).
- C-c C-y (
Evaluate a time range by computing the difference between start and end.
With a prefix argument, insert result after the time range (in a table: into
the following column).