Added the ability to add String as value only when the timestamp is given in milliseconds