# idate bug?

- Thread: https://externals.io/message/10171
- Original archive: https://news-web.php.net/php.internals/10171
- Started by Nuno Lopes on 2004-05-29T13:32:50+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #10171 — Nuno Lopes — 2004-05-29T13:32:50+00:00

URL: https://externals.io/message/10171#10171

Hello,

Checking the sources, idate('y') returns "year, numeric, 2 digits".
Althought it is returning just '4' instead of '04'. Is this a bug or
feature? :)


And what idate('I') returns? 1 if DST is on?


Thanks,
Nuno
