using hardcoded values to get milliseconds
using ms for times and adding to db