What is the difference between 日 and 号? Right now I am taking Mandarin 1 in Brooklyn Tech. From my understanding, 号 and 日 both mean "day." I took it upon myself to check Google Translate and find out what they both mean for confirmation. I found:

号: Day of the month; number
日:Day; Date; sun

So what is the difference? Can I use both terms in one sentence?(As in I could replace one with the other) Or are they more different than similar?
Note: I use trad.Chi so 號 is the same as 号

When you talk about a date, you can use 號 when you are talking casually with people, for example:


  今天是幾多號？
  今天是十五號。


You can use 日 when you're writing (eg. diary or notes) or saying something formal:


  十二月八日


Both has the same meaning.

[!] If you use them for other meanings, they are totally different.