The following tests 100,000 iterations of formatting the current date into YYYY-MM-DD format.
The library used is my own.