# How to remove the date field in the annotation

**URL:** <https://pdfjs.community/t/how-to-remove-the-date-field-in-the-annotation/316>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [October 6, 2020, 9:44am UTC](https://pdfjs.community/t/how-to-remove-the-date-field-in-the-annotation/316 "2020-10-06T09:44:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cneltyn](https://avatars.discourse-cdn.com/v4/letter/c/9fc348/32.png) [@cneltyn](https://pdfjs.community/u/cneltyn)\
**Post date:** [October 6, 2020, 9:44am UTC](https://pdfjs.community/t/how-to-remove-the-date-field-in-the-annotation/316/1 "2020-10-06T09:44:32Z")

</div>

Is there any API(PDFJS Express or PDFTron) to set date as `null` or `''` or remove it completely? Probably it is possible to create our own annotation box?  
**PDF.js Express Version**

7.1

**Expected behaviour**  
 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/7f12dd9bbbf66e637acf543555ed7800f6f1d4d4.png)

Thanks!

---

<div class="post-metadata">

**Author:** ![Logan](https://yyz1.discourse-cdn.com/flex031/user_avatar/pdfjs.community/logan/32/13_2.png) [@Logan](https://pdfjs.community/u/Logan)\
**Post date:** [October 8, 2020, 2:44pm UTC](https://pdfjs.community/t/how-to-remove-the-date-field-in-the-annotation/316/2 "2020-10-08T14:44:35Z")

</div>

Hey there!

You can hide certain elements by providing a [custom style sheet to Express](https://pdfjs.express/documentation/ui-customization/customizing-styles). You can then hide any element you like. You could try something like this to hide the date:

```css
div.date-and-time {
   display: none;
}

```

Thanks!  
Logan
