To determine how long it is until 6pm, you would need to consider the current time. If you provide the current time, I can calculate the amount of time remaining until 6pm.