from the curent epch time stamp, calculate the current time interval as specified by the variable seconds_interval and create a new date from that epoch
the purpose of this being to store data in a database by the current minute / 5 minute / whatever time period