Creating Timestamps (Org Mode Compact Guide)

Next: Deadlines and Scheduling, Previous: Timestamps, Up: Dates and Times [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 format.

`C-c .`

  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. With a prefix argument, it also adds the current time.

`C-c !`

  Like `C-c .`, but insert an inactive timestamp that does not cause an agenda entry.

`S-LEFT`
`S-RIGHT`

  Change date at point by one day.

`S-UP`
`S-DOWN`

  On the beginning or enclosing bracket of a timestamp, change its type. Within a timestamp, change the item under point. Point 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 also shifts the second, shifting the time block with constant length. To change the length, modify the second time.

When Org mode prompts for a date/time, it accepts any string containing some date and/or time information, and intelligently interprets the string, deriving defaults for unspecified information from the current date and time. You can also select a date in the pop-up calendar. See the manual for more information on how exactly the date/time prompt works.