Earlier this week I needed to remove some HTML tags from a text, the target string was already recorded with HTML tags in the database and one of the requirement specifies that in some specific page we need to render it as a raw text.
Early this week I needed to get the moment
2016-01-01 23:59:59 and
2016-01-01 00:00:00 (an entire day range) for a new feature in which I was working on. At the beginning I tried to get those moments doing my own calculations but…