Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2026.1

# Keyword expansion

RCS keywords are expanded as follows:

Keyword | Expands To | Example
--- | --- | ---
`$Id$` | File name and revision number in depot syntax. | `$Id: //depot/path/file.txt#3 $`
`$Header$` | Synonymous with `$Id$`. | `$Header: //depot/path/file.txt#3 $`
`$Date$` | Date of last submission format ``YYYY`/`MM`/`DD`` | `$Date: 2025/08/18 $`
`$DateTime$` | Local date and time of last submission format ``YYYY`/`MM`/`DD``hh`:`mm`:`ss`` | `$DateTime: 2025/08/18 23:17:02 $`
`$Change$` | Changelist number of file submission. | `$Change: 439 $`
`$File$` | File name only, in depot syntax, without revision number. | `$File: //depot/path/file.txt $`
`$Revision$` | Revision number. | `$Revision: #3 $`
`$Author$` | User submitting the file. | `$Author: maria $`

Your search for returned results