# 시계 시간 계산

시각은 일반적으로 콜론(:)으로 형식화된 시간의 한 순간을 의미합니다 (hh:mm)

### 시각에 시간 더하기 또는 빼기

<pre><code><strong>now + 3 hours 15 minutes                | 6:26 pm
</strong>9:45 am - 15 hours 10 minutes | Yesterday at 6:35 pm
16:00 + 3 hours 12 minutes             | 7:12 pm
</code></pre>

{% hint style="info" %}
시각 계산 시 일광 절약 시간이 고려되며, 일광 절약 시간이 변경되는 날에는 예상치 못한 결과를 발견할 수 있습니다.
{% endhint %}

### 두 시각 사이의 간격 찾기

```
7:30 to 20:45 | 3 hours 15 min
4pm to 3am    | 11 hours
```

### 시각 계산 시 마이너스(-) 연산자 사용의 모호성

안타깝게도, 마이너스 연산자는 시각 계산에서 모호할 수 있습니다.

우리 중 다수는 이를 **첫 번째 시각**부터 **두 번째 시각**(미래의 시간)까지의 \_**시간 범위**\_를 나타내는 데 사용합니다:

`5pm - 9pm` (오후 5시부터 오후 9시까지)

하지만 우리 중 다수는 이를 첫 번째 시각에서 두 번째 시각을 ***빼는*** 것을 표현하는 데 사용하기도 합니다:

`5pm - 3pm` (오후 5시에서 오후 3시를 뺌)

Soulver는 사용자가 선택한 특정 시각을 바탕으로 사용자가 의도한 바를 해석하기 위해 최선을 다합니다:

<pre><code>/// Get the amount of time between these two clock times today
5pm - 7pm         | 2 hours
<strong>5pm - 2pm | 2 hours
</strong>
// This is interpreted as 4 pm today back to 3am earlier this morning
4pm - 3am         | 13 hours

/// This is interpreted as 3am earlier this morning to 4pm today
3am - 4pm         | 13 hours
</code></pre>

가장 예측 가능한 결과를 얻으려면 [두 시각 사이의 간격 찾기](#finding-the-interval-between-two-clock-times)에서 설명한 "to" 연산자를 사용하세요.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.soulver.app/ko/undefined/time/clock-time-calculations.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
