# 달력 계산

### 날짜에 시간 더하거나 빼기

```
10 June + 3 weeks                     | 1 July
April 1, 2019 − 3 months 5 days       | 27 December 2018

12/02/1988 + 32 years                 | 12 February 2020
01.05.2005 + 3 years 2 months 3 weeks | 22 July 2008

3 weeks after March 14, 2019          | 4 April 2019
28 days before March 12               | 12 February
2 months 3 days after June 5          | 8 August

yesterday - 8 weeks 3 days            | 12 July
Yesterday + 1 week                    | 11 June
```

### 현재를 기준으로 날짜 얻기

```
today + 3 weeks | 1 October
now − 1 month   | 5 May

4 days from now | 14 September
3 days ago      | 7 September
```

### **두 날짜 사이의 시간 간격 찾기**

```
January 10 - February 5         | 3 weeks 5 days

3 March to 30 May               | 2 months 3 weeks 6 days

days since July 15              | 57 days
days till December 25           | 106 days
days between 3 March and 30 May | 88 days

1978 to 2021                    | 42 years

```

{% hint style="info" %}
시간 간격은 해당 간격의 시작일 정오부터 종료일 정오까지 계산됩니다.

시작일과 종료일 모두를 간격에 포함하려면 포함된 간격 함수를 사용하세요 (아래 [여기](#inclusive-intervals-of-time-1) 참조).
{% endhint %}

### 두 날짜 사이의 포함된 시간 간격 <a href="#inclusive-intervals-of-time" id="inclusive-intervals-of-time"></a>

```
April 1 through April 30 in days | 30 days
```

### 주차 번호 (ISO 8601)

```
week of year                  | 36
week number on march 12, 2021 | 10
```

### **월 또는 분기의 일수**

```
days in Q3            | 92 days
days in February 2020 | 29 days
```

### 두 날짜 사이의 중간 지점 찾기

```
midpoint between March 12 and April 5   | 24 March
halfway between today and next Thursday | 13 September
```

## 달력 계산의 모호성에 대한 참고 사항

**모호한 월**

일이나 주와 달리, 월은 초 단위로 명확하게 정의되어 있지 않습니다. Soulver는 주어진 표현을 바탕으로 가장 논리적인 작업을 수행하려고 시도합니다. 윤년 및 기타 달력의 특이 사항을 고려하는 데 능숙합니다:

```
Feb 28 + 1 month          | 28 March
January 31 2020 + 1 month | February 29 2020
```

**연도가 지정되지 않은 날짜**

연도가 지정되지 않은 날짜는 현재 연도 또는 다음 연도를 사용할 수 있습니다.

```
# In December 2019

// 다음 해로 가정됨, 가장 가까운 1월이 미래에 있기 때문
January 12 + 3 weeks | 2 February 2020

// 올해로 가정됨, 월이 아직 최근 과거에 있기 때문
November 1 - 5 days  | 27 October 2019
```


---

# 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/dates/dates-and-times.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.
