lastWateredDate Data Format

HI, I’m using the API to trigger watering zones and I can get info as well. My question is the lastWateredDate returns something like the following…


How do I get a date value from 1497926762300?


I’m guessing it’s Unix time (time since 1/1/1970 midnight UTC) but in milliseconds. If I take 1497926762300, divide by 1000 to get 1497926762.3 and plug in to, I get Tuesday, June 20, 2017 2:46:02.300 AM UTC.


Thanks! That’s definitely it.