1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
---
id: Timestamp
section: components
cssPrefix: pf-v6-c-timestamp
---## Examples
### Basic
```html
<span class="pf-v6-c-timestamp">
<time
class="pf-v6-c-timestamp__text"
datetime="2019-01-21T21:38"
>Thursday, 21 January 2019, 9:38 PM EST</time>
</span>
<br />
<br />
<span class="pf-v6-c-timestamp">
<time
class="pf-v6-c-timestamp__text"
datetime="2019-01-21T21:38"
>21 January 2019, 9:38 PM EST</time>
</span>
<br />
<br />
<span class="pf-v6-c-timestamp">
<time
class="pf-v6-c-timestamp__text"
datetime="2019-01-21T21:38"
>21 Jan. 2019, 9:38 PM EST</time>
</span>
<br />
<br />
<span class="pf-v6-c-timestamp">
<time class="pf-v6-c-timestamp__text" datetime="2022-07-15T10:00">1 hour ago</time>
</span>
<br />
<br />
<span class="pf-v6-c-timestamp">
<time class="pf-v6-c-timestamp__text" datetime="2022-07-21">Tomorrow</time>
</span>
<br />
<br />
<span class="pf-v6-c-timestamp pf-m-help-text">
<time class="pf-v6-c-timestamp__text" datetime="2022-07-21">Tomorrow</time>
</span>
```
## Documentation
### Usage
| Class | Applied to | Outcome |
| -- | -- | -- |
| `.pf-v6-c-timestamp` | `<span>` | Creates a timestamp. **Required** |
| `.pf-v6-c-timestamp__text` | `<time>` | Creates the visual text of the timestamp. **Required** |
| `.pf-m-help-text`| `.pf-v6-c-timestamp` | Modifies styling for a timestamp that has help text. |
|