secondsSinceEpoch bug fix and datetimeRange function added
datetimeRange function added