&gt; Don&#x27;t bring in more code than you need.<p>I see it as a sliding scale.  If I&#x27;m parsing 1 string with the same date format into 1 object, I&#x27;m not going to pull in some general purpose time parsing library - I&#x27;ll write the 10 lines of code myself, a few unit tests, and be happy.<p>If in the future I start having to deal with different date strings and some need to do more than just throw up a single date on a page somewhere, I&#x27;ll get a date&#x2F;time library.