6. (10 points) The first day of the lunar Year of the Dragon (i.e., the first day of the lunar new year) is January 23, which can be represented by four digits as 0123. We notice that these four digits are exactly four consecutive numbers. Similar dates include February 13 (0213), March 12 (0312), etc. The last date in 2012 that can be represented by four consecutive digits is the day of the lunar Year of the Dragon. $\qquad$
【Answer】Solution: According to the problem, we know that:
The last four consecutive dates in December 2012 are December 30. Since 2012 is a leap year with 366 days, from January 23 to December 30. It has been $366-22$ - $1=343$ days.

Therefore, the answer is: 343