Updated time casting to force the value to utc.