improved stringify date