How to say "I will have arrived home by 6 pm."


I've just started Japanese, so please go easy on the grammar!

I see from this website that ~madeni means "by that time," but I'm not sure if
you just append that to the time you want to specify (i.e., rokujimadeni).
Also, is there a perfect and/or future perfect tense equivalent in Japanese?




## ~madeni (~までに)

Yes, as you said, it's that simple - append "~までに" to the time you want to
specify.

**But!** Since this is used in future perfect, it's kinda weird to say までに. We
say **までには** (madeniwa.)  
**には** is a combination of `case particle` に and `engagement particle` は.  
**に** indicates the time the action ends (or starts,) and **は** indicates the
topic (or important point) in the sentence.

## Perfect / future perfect

There are 3 possible ways to interpret those tenses.

  * **Continuation**
  * **Experience**
  * **Completion**

And of course we have separate translations for those. We use:

  * **"~しつづけている"** for continuation 

> (Ex. He's been sick since yesterday - 彼{かれ}は 昨日{きのう}から 病気{びょうき}で寝{ね}
> **つづけている** )

  * **"~したことがある"** for experience 

> (Ex. I've been to Japan in the past - 私{わたし}は 前{まえ}に 日本{にほん}に 行{い}っ
> **たことがある**

  * **"~しまった"** or **"~したところだ"** for completion 

> I've arrived home - 私{わたし}は 家{いえ}に つい **たところだ**

And we use "~だろう" for future patterns, like:

> It'll rain soon. もうすぐ 雨{あめ}が 降{ふ}る **だろう**

However, it's not that simple to combine those, because the translation
changes (because it sounds weird)

  * For continuation, say "~ **したことになるだろう** " 

> I'll have lived in Japan for 5 years next August - 来年{らいねん}の 8月{がつ}で 私は 日本に
> 5年間{ねんかん} 住{す}んだ ことになるだろう

  * For experience, say "~ **したことになるだろう** " (same as continuation because I don't think there's _much_ difference in situation - in both usage the subject is still doing the thing.)
  * For completion, say "~ **しているだろう** " 
    * Let's take your sentence: 

> I'll have arrived home by 6pm - 私{わたし}は 6時{じ}まで **には** 家{いえ}に 帰{かえ}って
> **いるだろう**




## ~madeni (~までに)

Yes, as you said, it's that simple - append "~までに" to the time you want to
specify.

**But!** Since this is used in future perfect, it's kinda weird to say までに. We
say **までには** (madeniwa.)  
**には** is a combination of `case particle` に and `engagement particle` は.  
**に** indicates the time the action ends (or starts,) and **は** indicates the
topic (or important point) in the sentence.

## Perfect / future perfect

There are 3 possible ways to interpret those tenses.

  * **Continuation**
  * **Experience**
  * **Completion**

And of course we have separate translations for those. We use:

  * **"~しつづけている"** for continuation 

> (Ex. He's been sick since yesterday - 彼{かれ}は 昨日{きのう}から 病気{びょうき}で寝{ね}
> **つづけている** )

  * **"~したことがある"** for experience 

> (Ex. I've been to Japan in the past - 私{わたし}は 前{まえ}に 日本{にほん}に 行{い}っ
> **たことがある**

  * **"~しまった"** or **"~したところだ"** for completion 

> I've arrived home - 私{わたし}は 家{いえ}に つい **たところだ**

And we use "~だろう" for future patterns, like:

> It'll rain soon. もうすぐ 雨{あめ}が 降{ふ}る **だろう**

However, it's not that simple to combine those, because the translation
changes (because it sounds weird)

  * For continuation, say "~ **したことになるだろう** " 

> I'll have lived in Japan for 5 years next August - 来年{らいねん}の 8月{がつ}で 私は 日本に
> 5年間{ねんかん} 住{す}んだ ことになるだろう

  * For experience, say "~ **したことになるだろう** " (same as continuation because I don't think there's _much_ difference in situation - in both usage the subject is still doing the thing.)
  * For completion, say "~ **しているだろう** " 
    * Let's take your sentence: 

> I'll have arrived home by 6pm - 私{わたし}は 6時{じ}まで **には** 家{いえ}に 帰{かえ}って
> **いるだろう**

