Timestamp or Date Object to String in format yyyy-mm-dd

hsDateStr(tstamp)

Arguments

tstamp

vector of date or time objects