Last answered:

23 Sept 2022

Posted on:

10 Aug 2022


Part 2 date format question

Why does the employees hired date include %2000% in the answers document, if the format is Year-Month-Day? Wouldn't 2000% work?

2 answers ( 0 marked as helpful)
Posted on:

12 Aug 2022


Hi Justin!
Thanks for reaching out.

Yes, you are right. The '%' wildcard is needed only after 2000. As this will give you as a result only dates from year 2000. Fine.

Note: It is added from both sides because if someone uses a different date format, it wil still work. It is somehow more profesionally and companies make their code to be more user friendly.

Hope this helps.

Posted on:

23 Sept 2022


Just looked up the reply as well.

Thanks so much!

Submit an answer