3 ms·Move the date up a layer and pass it into the code that deals with it, makes it easy to write tests for itby artdigital 5y agoMove the date up a layer and pass it into the code that deals with it, makes it easy to write tests for it