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/DDhh: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 $