Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Aggregate on hour
thouse04
<p>I need to aggregate data that is collected every 30 seconds by hour. There is a datetime field in the row but I need to know how to strip the hour field out</p>
Find more posts tagged with
Comments
Matthew L.
<p>You could use the formatter to get only the hour value from the datetime value:</p>
<p>Formatter.format(row["CreatedDateTime"],"hh")</p>
thouse04
<p>thank you, that did it</p>
micajblock
<p>or group the table on the date with an interval of an hour.</p>