---
title: "NetProbe - How to remove the leading zero in the day of the month date format"
description: "NetProbe date formats can include a leading zero in the day of the month by default. To remove this leading zero, use %-d on Linux and %#d on Windows in the date format string."
url: "https://docs.itrsgroup.com/docs/faq/geneos/115004028209-geneos-netprobe-how-to-remove-the-leading-zero-in-the-day-of-the-month-date-format/index.html"
---
\For Linux, use the syntax `%-d` while for Windows, use the syntax `%#d`.

A common requirement is to monitor a file (via FTM) with a date format `ddmmyy`, wherein the `dd` does not have a leading zero when the day of the month is between 1-9 (such as for March 2, 2016 = 2032016). What we normally use is the format, for example, `<today%d%m%y>.txt`, but the `%d` is expecting a leading zero if digit is between 1-9.

See the following example:

![FTM date format](https://docscdn.itrsgroup.com/faq/images/geneos/ftm-date-format.png)

To remove the leading zero in the day of the month, you should use `%-d` for Linux and `%#d` for Windows.

- Linux:

![Linux date file path](https://docscdn.itrsgroup.com/faq/images/geneos/linux-ftm-date-config.png)

![Linux date format setup resulting dataview](https://docscdn.itrsgroup.com/faq/images/geneos/linux-ftm-date-config-view.png)

- Windows:

![Windows date file path](https://docscdn.itrsgroup.com/faq/images/geneos/windows-ftm-date-config.png)

![Windows date format setup resulting dataview](https://docscdn.itrsgroup.com/faq/images/geneos/windows-ftm-date-config-view.png)


