Question: I'm creating dates from strings with the format 'yyyy-MM-dd' but they're always created on the previous day for some reason. If I set the date as '2012-10-31' the Date object with actually be 30 of October and not 31. For example, this:

```
var d1=new Date('2012-10-31');

```

Will output this: 

```
Tue Oct 30 2012 19:30:00 GMT-0430 (Venezuela Standard Time)

```

Can someone explain why this happens?

Answer: 
do as you see fit. Each bounded context will have a different domain and surely a different application layer, but we may imagine a common Infrastructure layer ou presentation layer. It really depends on your architectural choices, and on the application you are trying to build.

If you want a more precise answer, add some material to your question, so that we can get your context and your problematic.
I think it is not a question about DDD precisely but about an architecture. What kind of coupling between bounded contexts is acceptable/desirable for you. 

If all your bounded contexts will:

* be developed in one programming language
* access the same database engine
* be developed by a relatively small team (up to ~20 people)

then probably you should go with the second approach - each bounded context contains its own domain and application layer and all the bounded contexts share the same infrastructure and application layer.

In other cases, you should considering the microservces/SOA architecture.