moved get date offset to the front end, added some front end improvments