Basic Javascript that takes the time and converts it to a Hex Value