manually casting all time variables as integers